Skip to content

Instantly share code, notes, and snippets.

View AkshayPathak's full-sized avatar

Akshay Pathak AkshayPathak

  • Waterloo, Ontario, Canada
View GitHub Profile
@AkshayPathak
AkshayPathak / Conversion
Created May 5, 2016 01:26
Converting raw gyroscope inputs to an angle.
unsigned char gyroValue = 0;
unsigned char offset = 136;
float angle = 0;
float gyroRate;
void setup() {
Serial.begin(9600);
}
void loop() {