Yiming Zhang
/
GBF
demo
main.cpp@4:7743a7670ae7, 2020-04-27 (annotated)
- Committer:
- sjuzyz
- Date:
- Mon Apr 27 13:53:33 2020 +0000
- Revision:
- 4:7743a7670ae7
- Parent:
- 2:2dcb32bf0662
demo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sjuzyz | 0:6fe791dc9958 | 1 | #include "mbed.h" |
sjuzyz | 0:6fe791dc9958 | 2 | #include "N5110.h" |
sjuzyz | 0:6fe791dc9958 | 3 | N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); |
sjuzyz | 0:6fe791dc9958 | 4 | int main() |
sjuzyz | 0:6fe791dc9958 | 5 | { |
sjuzyz | 0:6fe791dc9958 | 6 | lcd.init(); |
sjuzyz | 0:6fe791dc9958 | 7 | lcd.printString(" Hello ",0,1); |
sjuzyz | 0:6fe791dc9958 | 8 | lcd.refresh(); |
sjuzyz | 0:6fe791dc9958 | 9 | |
sjuzyz | 2:2dcb32bf0662 | 10 | } |