teensypp2 - ftkalcevic/GenericHID GitHub Wiki
The Teensy++ 2.0 USB Development Board is an ultra compact, inexpensive, USB development board built using the at90usb1286. This is a purpose built breakout board so it doesn't have any of the problems a stock at90usbkey will have - the pins are laid out on a standard 0.1" pitch, and there are no other "accessories" to tie up pins. (except for the LED on pin PD6)
The board is built and sold by PJRC.
The name of the USB HID device that will appear when listed by the host computer.
The UsagePage and Usage of the Device. See Usages for more information.
Be careful when setting this parameter. The default setting of Generic Desktop Controls:Multi-axis Controller is fine and should not need changing. Setting it to a Mouse or Pointer device may confuse the operating system and the device will not operate as expected. Set it to Generic Desktop Controls:Joystick to make it appear as a game controller.
Teensy++ 2.0 is a 5v board.
Teensy++ 2.0 is bus powered.
The interval, in milliseconds, at which the PC polls the HID device for updates. The smaller the number, the faster the updates and more responsive the device is, at the cost of more CPU power.
Pins PD2/PD3 can be used as RXD/TXD pins for RS232 TTL Serial debug output (38400, 8, none, 1). Setting the value above zero enables debugging. The higher the number the more debug (max 100).
The current usage of the microcontroller. Used to estimate the USB power draw. In milliamps (mA)
A status LED is connected to port PD6 on the Teensy++ 2.0 board. It can be used to show the status of the USB connection...
Off | Not Connected |
Green | Connected and Ready |
A unique serial number of the device.
Timer1 configuration. The Generic HID device PWM outputs use shared timer resources. Three outputs, PB5(OC1A), PB6(OC1B), PB7(OC1C) are derived from Timer 1. If a PWM output is placed on one of these pins, they will all share the same base frequency and resolution. See Timers for more information.
Timer2 configuration. The Generic HID device PWM outputs use shared timer resources. Two outputs, PB4(OC2A), and PD1(OC2B) are derived from Timer 2. If a PWM output is placed on one of these pins, they will all share the same base frequency and resolution. See Timers for more information.
Timer3 configuration. The Generic HID device PWM outputs use shared timer resources. Three outputs, PC6(OC3A), PC5(OC3B), and PC4(OC3C) are derived from Timer 3. If a PWM output is placed on one of these pins, they will all share the same base frequency and resolution. See Timers for more information.