michael hollegha
/
BertlTemplate
Start Project for Bertl-Programms
Fork of BertlPingPong by
BertlTemplate.cpp@3:6bbab92372ef, 2015-02-22 (annotated)
- Committer:
- hollegha2
- Date:
- Sun Feb 22 12:45:34 2015 +0000
- Revision:
- 3:6bbab92372ef
- Parent:
- BertlPingPong.cpp@2:fb6f2a6307d3
Init. Revision
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hollegha2 | 0:2033217d2140 | 1 | |
hollegha2 | 0:2033217d2140 | 2 | #include "mbed.h" |
hollegha2 | 0:2033217d2140 | 3 | #include "Serial_HL.h" |
hollegha2 | 0:2033217d2140 | 4 | #include "Bertl14.h" |
hollegha2 | 2:fb6f2a6307d3 | 5 | #include "BertlObjects.h" |
hollegha2 | 0:2033217d2140 | 6 | |
hollegha2 | 3:6bbab92372ef | 7 | |
hollegha2 | 0:2033217d2140 | 8 | |
hollegha2 | 0:2033217d2140 | 9 | int main(void) |
hollegha2 | 0:2033217d2140 | 10 | { |
hollegha2 | 0:2033217d2140 | 11 | InitBertl(); |
hollegha2 | 0:2033217d2140 | 12 | pex.useISR=0; leds=9; |
hollegha2 | 0:2033217d2140 | 13 | pex.ClearLeds(); |
hollegha2 | 0:2033217d2140 | 14 | |
hollegha2 | 3:6bbab92372ef | 15 | while(1) |
hollegha2 | 3:6bbab92372ef | 16 | { |
hollegha2 | 0:2033217d2140 | 17 | } |
hollegha2 | 0:2033217d2140 | 18 | |
hollegha2 | 0:2033217d2140 | 19 | return 1; |
hollegha2 | 0:2033217d2140 | 20 | } |
hollegha2 | 0:2033217d2140 | 21 | |
hollegha2 | 3:6bbab92372ef | 22 |