Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12345678910111213141516171819202122232425262728293031323334
  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 PCB (not protoboard) hardware shield are:
  6. INT0 == PD2 == IC Pin 4 == Arduino Digital Pin 2 == D+
  7. ---- == PD4 == -------- == Arduino Digital Pin 4 == D-
  8. ---- == PD5 == -------- == Arduino Digital Pin 5 == pull-up
  9. (DONE: Change to not use PD3 so INT1 is left free?)
  10. * In order to compile a valid 'usbconfig.h' file must exit. The content of this
  11. file will vary depending on whether the device is a generic USB device,
  12. generic HID device or specific class of HID device for example.
  13. The file 'usbconfig-prototype.h' can be used as a starting point, however
  14. it might be easier to use the 'usbconfig.h' from one of the example projects.
  15. TODO: Specify the settings that need to be changed to match the shield
  16. design we use.
  17. * (NOTE: Initial 'usbconfig.h' used will be based on the file from
  18. 'HIDKeys.2007-03-29'.) (Note: Have now upgraded to V-USB 2009-08-22.)
  19. * Versions of the Arduino IDE prior to 0018 won't compile our library
  20. so it needs to be pre-compiled with:
  21. avr-g++ -Wall -Os -I. -DF_CPU=16000000 -mmcu=atmega168 -c usbdrvasm.S -c usbdrv.c