Gyroscope
i having heck of time trying l3gd20h display raw data. pretty sure wired correctly, code isn't working, , have library installed. tried keep simple possible. if knows why or has information might relevant, appreciate it. ps, if in wrong subforum, please move me. code: [select] #include <wire.h> #include <adafruit_l3gd20.h> // comment next line use spi #define use_i2c // default constructor uses i2c adafruit_l3gd20 gyro; void setup() { serial.begin(9600); } void loop() { gyro.read(); serial.print("x: "); serial.print((int)gyro.data.x); serial.print(" "); serial.print("y: "); serial.print((int)gyro.data.y); serial.print(" "); serial.print("z: "); serial.println((int)gyro.data.z); serial.print(" "); } quote i having heck of time trying l3gd20h display raw data. i've never had luck getting g...