USB keyboard library problem

Status
Not open for further replies.

toyoki

New member
Hi

please i went usb_keyboard library for Teensy 3.1

because when i use the default library in this site i have this error message

Code:
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c: In function 'main':
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:46:2: error: 'CLKPR' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:46:2: note: each undeclared identifier is reported only once for each function it appears in
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:51:2: error: 'DDRD' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:52:2: error: 'DDRB' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:53:2: error: 'PORTB' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:54:2: error: 'PORTD' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:70:2: error: 'TCCR0A' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:71:2: error: 'TCCR0B' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:72:2: error: 'TIMSK0' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:72:15: error: 'TOIE0' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:76:7: error: 'PINB' undeclared (first use in this function)
E:\Arduino\arduino-1.0.5-r2\libraries\usb_keyboard\example.c:77:7: error: 'PIND' undeclared (first use in this function)

please help me
 
still have the same error with the code, even after using the Teensyduino 1.20 with Arduino 1.06
any ideas guy's
thanks
 
Status
Not open for further replies.
Back
Top