Karlo Šestak
/
regulator_napona
LCD Hello mbed World!
main.cpp@0:0a5c73c2369a, 2010-08-08 (annotated)
- Committer:
- takeuchi
- Date:
- Sun Aug 08 11:46:42 2010 +0000
- Revision:
- 0:0a5c73c2369a
- Child:
- 1:b501f964e376
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
takeuchi | 0:0a5c73c2369a | 1 | #include "mbed.h" |
takeuchi | 0:0a5c73c2369a | 2 | #include "TextLCD.h" |
takeuchi | 0:0a5c73c2369a | 3 | |
takeuchi | 0:0a5c73c2369a | 4 | TextLCD lcd(p24, p25, p26, p27, p28, p29, p30); // rs, rw, e, d4, d5, d6, d7 |
takeuchi | 0:0a5c73c2369a | 5 | |
takeuchi | 0:0a5c73c2369a | 6 | int main() { |
takeuchi | 0:0a5c73c2369a | 7 | lcd.cls(); |
takeuchi | 0:0a5c73c2369a | 8 | lcd.printf("Hello mbed world!"); |
takeuchi | 0:0a5c73c2369a | 9 | } |