Using Arduino IDE 1.8.5 with Teensyduino 1.42 with: ![]() Here is the correct code for Sensor.h #ifndef Sensor_h ![]() Sensor.h:17: error: 'pivate' does not name a type var/folders/8q/rbt7zf3d28b3k9t6d24k5sn00000gn/T/arduino_build_748953/sketch/Sensor.cpp:20: undefined reference to `元G::enableDefault()'Īs Juraj rightly points out, you have a typo, which should give you the following compile time error: In file included from sketch/Sensor.cpp:1:0: var/folders/8q/rbt7zf3d28b3k9t6d24k5sn00000gn/T/arduino_build_748953/sketch/Sensor.cpp:15: undefined reference to `元G::init(unsigned char, unsigned char)' ![]() Serial.println("Failed to autodetect gyro type!")
0 Comments
Leave a Reply. |