Skip to content

Instantly share code, notes, and snippets.

@lefuturiste
Created January 24, 2019 18:34
Show Gist options
  • Save lefuturiste/7e52c767b6d9c7f4e3ca927731f2e5ad to your computer and use it in GitHub Desktop.
Save lefuturiste/7e52c767b6d9c7f4e3ca927731f2e5ad to your computer and use it in GitHub Desktop.
#include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>
#include <MeAuriga.h>
MeGyro gyro(0, 0x69);
void setup() {
Serial.begin(9600);
Serial.println("Start...");
gyro.begin();
delay(500);
}
void loop() {
gyro.update();
Serial.println(gyro.getAngleZ());
delay(100);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment