Trying to compile this
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
// press and hold CTRL
Keyboard.set_modifier(MODIFIERKEY_CTRL);
Keyboard.send_now();
}
For my teensy 3.2 and I keep getting this error
Build options changed, rebuilding all
myproject: In function 'void loop()':
myproject:10: warning: large integer implicitly truncated to unsigned type
Keyboard.set_modifier(MODIFIERKEY_CTRL);
^
C:\Users\user1\AppData\Local\Temp\build3a1ab46d62a84e3c71ee39b91f1d8aeb.tmp/core\core.a(yield.cpp.o): In function `yield':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/yield.cpp:43: undefined reference to `serialEvent()'
collect2.exe: error: ld returned 1 exit status
Error compiling for board Teensy 3.2 / 3.1.
I'm compiling with a usb type keyboard on teensyduino 1.29 beta 3
Help would be much appriciated if im doing something wrong or if i just need to change something. Thanks
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
// press and hold CTRL
Keyboard.set_modifier(MODIFIERKEY_CTRL);
Keyboard.send_now();
}
For my teensy 3.2 and I keep getting this error
Build options changed, rebuilding all
myproject: In function 'void loop()':
myproject:10: warning: large integer implicitly truncated to unsigned type
Keyboard.set_modifier(MODIFIERKEY_CTRL);
^
C:\Users\user1\AppData\Local\Temp\build3a1ab46d62a84e3c71ee39b91f1d8aeb.tmp/core\core.a(yield.cpp.o): In function `yield':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/yield.cpp:43: undefined reference to `serialEvent()'
collect2.exe: error: ld returned 1 exit status
Error compiling for board Teensy 3.2 / 3.1.
I'm compiling with a usb type keyboard on teensyduino 1.29 beta 3
Help would be much appriciated if im doing something wrong or if i just need to change something. Thanks