![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TEXT LCD test of CORE-1000
main.cpp@1:f669e4e75a21, 2017-02-03 (annotated)
- Committer:
- odb
- Date:
- Fri Feb 03 08:05:39 2017 +0000
- Revision:
- 1:f669e4e75a21
- Parent:
- 0:0a5c73c2369a
- Child:
- 2:a6025c5ce99e
CORE-1000 First
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 | |
odb | 1:f669e4e75a21 | 4 | TextLCD lcd(PC_6,PC_8,PC_5,PC_0,PA_12,PA_11,PB_12); |
odb | 1:f669e4e75a21 | 5 | int main() |
odb | 1:f669e4e75a21 | 6 | { |
odb | 1:f669e4e75a21 | 7 | lcd.gotoxy(1,1); |
odb | 1:f669e4e75a21 | 8 | lcd.printf("Hello BUSAN KOPO"); |
odb | 1:f669e4e75a21 | 9 | |
odb | 1:f669e4e75a21 | 10 | lcd.gotoxy(1,2); |
odb | 1:f669e4e75a21 | 11 | lcd.printf("CORE ONE Tech..."); |
odb | 1:f669e4e75a21 | 12 | |
odb | 1:f669e4e75a21 | 13 | while(1) { |
odb | 1:f669e4e75a21 | 14 | wait_ms(300); |
odb | 1:f669e4e75a21 | 15 | } |
odb | 1:f669e4e75a21 | 16 | } |