diff options
Diffstat (limited to 'testhal/AVR/PWM/readme.txt')
-rw-r--r-- | testhal/AVR/PWM/readme.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testhal/AVR/PWM/readme.txt b/testhal/AVR/PWM/readme.txt new file mode 100644 index 000000000..c34cb4e8d --- /dev/null +++ b/testhal/AVR/PWM/readme.txt @@ -0,0 +1,23 @@ +*****************************************************************************
+** ChibiOS/RT port for Atmel AVR ATmega1280. **
+*****************************************************************************
+
+** TARGET **
+
+The demo runs on an Arduino Mega board.
+
+** The Demo **
+
+This demo creates three PWM channels on pins PB5, PB6 and PB7. Each channel uses
+a different duty cycle with PB7 having a duty cycle of 50%, PB6 a duty cycle of
+25% and PB5 a duty cycle of 75%. Since the LED is connected to PB7 on the Arduino
+Mega, it can be seen flashing in high speed.
+
+** Build Procedure **
+
+The demo was built using the GCC AVR toolchain. It should build with WinAVR too!
+
+** Notes **
+
+This demo runs natively so the Arduino bootloader must be removed and the FUSEs
+reprogrammed. The values used for fuses are LFUSE=0xe7 and HFUSE=0x99.
|