![](/media/cache/profiles/8757150decbd89b0f5442ca3db4d0e0e.50x50_q85.jpg)
John's code modified for envelope shaping and different colours
Fork of Morse-buddy-JohnF by
main.h@3:cbd036b6942b, 2013-06-27 (annotated)
- Committer:
- tony1tf
- Date:
- Thu Jun 27 23:21:46 2013 +0000
- Revision:
- 3:cbd036b6942b
- Parent:
- 2:260128ae5746
Different colours for each instantiation - fixed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tony1tf | 0:8c725fbd8e0e | 1 | #ifndef MAIN_H |
tony1tf | 0:8c725fbd8e0e | 2 | #define MAIN_H |
tony1tf | 0:8c725fbd8e0e | 3 | |
tony1tf | 0:8c725fbd8e0e | 4 | #define on 0; |
tony1tf | 0:8c725fbd8e0e | 5 | #define off 1; |
tony1tf | 0:8c725fbd8e0e | 6 | |
tony1tf | 2:260128ae5746 | 7 | extern DigitalOut blue; |
tony1tf | 2:260128ae5746 | 8 | extern DigitalOut green; |
tony1tf | 2:260128ae5746 | 9 | extern DigitalOut red; |
tony1tf | 0:8c725fbd8e0e | 10 | extern AnalogOut piezo; |
tony1tf | 0:8c725fbd8e0e | 11 | |
tony1tf | 0:8c725fbd8e0e | 12 | #endif |