naze-shippai-suru-noka
Dependencies: TextLCD mbed pop3
main.cpp@1:c5b02f551a38, 2011-11-01 (annotated)
- Committer:
- kogure7
- Date:
- Tue Nov 01 11:58:29 2011 +0000
- Revision:
- 1:c5b02f551a38
- Parent:
- 0:85a5c0651795
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kogure7 | 0:85a5c0651795 | 1 | #include "mbed.h" |
kogure7 | 0:85a5c0651795 | 2 | #include "TextLCD.h" |
kogure7 | 0:85a5c0651795 | 3 | |
kogure7 | 0:85a5c0651795 | 4 | TextLCD lcd(p24, p26, p27, p28, p29, p30); |
kogure7 | 0:85a5c0651795 | 5 | |
kogure7 | 0:85a5c0651795 | 6 | int main(void) { |
kogure7 | 0:85a5c0651795 | 7 | lcd.cls(); |
kogure7 | 0:85a5c0651795 | 8 | lcd.locate(0, 0); |
kogure7 | 0:85a5c0651795 | 9 | lcd.printf("StarBoard Orange"); |
kogure7 | 0:85a5c0651795 | 10 | lcd.locate(0, 1); |
kogure7 | 0:85a5c0651795 | 11 | lcd.printf("mbed NXP LPC1768"); |
kogure7 | 0:85a5c0651795 | 12 | return 0; |
kogure7 | 0:85a5c0651795 | 13 | } |
kogure7 | 0:85a5c0651795 | 14 |