In file included from C:\Users\Kevin\Documents\School\thesis\sketch\hoverboard\hoverboard.ino:2:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/hoverboard.cpp: In member function 'Hoverboard::EHoverboardErr Hoverboard::init()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/hoverboard.cpp:81:33: error: 'SERIAL_9N1' was not declared in this scope
_p_gyro1Serial->begin (26300, SERIAL_9N1); // 9 bits mode
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/hoverboard.cpp: In member function 'Hoverboard::EHoverboardErr Hoverboard::setSpeed(float, float)':
....
Error compiling for board Teensy 3.2 / 3.1.
I can't compile the sketch because there's an error to hoverboard.cpp and idlecontrol(). I added the .cpp and .h in
this is the error: