readme.txt 1.0 KB

12345678910111213141516171819202122232425
  1. *****************************************************************************
  2. ** ChibiOS/RT port for Atmel AVR ATmega1280. **
  3. *****************************************************************************
  4. ** TARGET **
  5. The demo runs on an Arduino Mega board.
  6. ** The Demo **
  7. This demo uses ICP3 (ICU3 input) which is located on pin PE7 to measure signal
  8. width and period. The signal is output on pin PD4 using standard PAL calls and
  9. thread sleep functions. PD4 must be wired to PE7. It outputs three different
  10. waveforms with aproximately 1s duration using 50%, 25% and 75% respective duty
  11. cycles. After that it just turns on ICU3 and waits for it to overflow. The values
  12. read on each of these operations is output to SERIAL1.
  13. ** Build Procedure **
  14. The demo was built using the GCC AVR toolchain. It should build with WinAVR too!
  15. ** Notes **
  16. This demo runs natively so the Arduino bootloader must be removed and the FUSEs
  17. reprogrammed. The values used for fuses are LFUSE=0xe7 and HFUSE=0x99.