Blinker
Dependencies: TextLCD mbed MMA8451Q
Blinker.cpp@3:05c8449bc489, 2014-06-19 (annotated)
- Committer:
- Daniel90
- Date:
- Thu Jun 19 13:48:48 2014 +0000
- Revision:
- 3:05c8449bc489
- Parent:
- 2:b5d4d7c6200b
- Child:
- 4:a0a518132c23
header eingebunden
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Daniel90 | 3:05c8449bc489 | 1 | //Multifunktionsblinker |
Daniel90 | 3:05c8449bc489 | 2 | //Hardware: Freescale FRDM KL25Z & SaintSmart LCD Keypad Shield |
Daniel90 | 3:05c8449bc489 | 3 | //Copyright: Andre Ehwein, Marcel Berrang, Daniel Knopp |
Daniel90 | 3:05c8449bc489 | 4 | |
Daniel90 | 3:05c8449bc489 | 5 | #include "mbed.h" //common library für mbed |
Daniel90 | 3:05c8449bc489 | 6 | #include "TextLCD.h" //library für den LCD Shield |
Daniel90 | 3:05c8449bc489 | 7 | |
Daniel90 | 3:05c8449bc489 | 8 | TextLCD lcd(PTA13, PTD5, PTA4, PTA5, PTC8, PTC9, TextLCD::LCD16x2); //Config. für das LCD Shield |
Daniel90 | 3:05c8449bc489 | 9 | |
Daniel90 | 3:05c8449bc489 | 10 | int main() |
Daniel90 | 3:05c8449bc489 | 11 | { |
Daniel90 | 3:05c8449bc489 | 12 | lcd.cls(); |
Daniel90 | 3:05c8449bc489 | 13 | } |
Daniel90 | 3:05c8449bc489 | 14 | |
Daniel90 | 3:05c8449bc489 | 15 | //Ende |