John's code modified for envelope shaping and different colours
Fork of Morse-buddy-JohnF by
main.h@2:260128ae5746, 2013-06-27 (annotated)
- Committer:
- tony1tf
- Date:
- Thu Jun 27 10:52:29 2013 +0000
- Revision:
- 2:260128ae5746
- Parent:
- 0:8c725fbd8e0e
Audio envelope shaping and changing coloured LED added
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 |