Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ArduinoNotes.txt 1.1KB

1234567891011121314151617181920212223242526272829303132
  1. Notes On Integrating AVRUSB with Arduino
  2. ========================================
  3. * Note the license(s) under which AVRUSB is distributed.
  4. * See also: http://code.rancidbacon.com/ProjectLogArduinoUSB
  5. * Note: The pins we use on the hardware shield are:
  6. INT0 == PD2 == IC Pin 4 == Arduino Digital Pin 2
  7. INT1 == PD3 == IC Pin 5 == Arduino Digital Pin 3
  8. (TODO: Change to not use PD3 so INT1 is left free?)
  9. * In order to compile a valid 'usbconfig.h' file must exit. The content of this
  10. file will vary depending on whether the device is a generic USB device,
  11. generic HID device or specific class of HID device for example.
  12. The file 'usbconfig-prototype.h' can be used as a starting point, however
  13. it might be easier to use the 'usbconfig.h' from one of the example projects.
  14. TODO: Specify the settings that need to be changed to match the shield
  15. design we use.
  16. * (NOTE: Initial 'usbconfig.h' used will be based on the file from
  17. 'HIDKeys.2007-03-29'.)
  18. * At present the IDE won't compile our library so it needs to be pre-compiled
  19. with:
  20. avr-g++ -Wall -Os -I. -DUSB_CFG_CLOCK_KHZ=16000 -mmcu=atmega168 -c usbdrvasm.S -c usbdrv.c