Yiming Zhang
/
GBF
demo
main.cpp@1:3f6881bbac40, 2020-04-27 (annotated)
- Committer:
- sjuzyz
- Date:
- Mon Apr 27 13:46:18 2020 +0000
- Revision:
- 1:3f6881bbac40
- Parent:
- 0:6fe791dc9958
- Child:
- 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 | 0:6fe791dc9958 | 10 | } |
sjuzyz | 1:3f6881bbac40 | 11 | |
sjuzyz | 1:3f6881bbac40 | 12 | |
sjuzyz | 1:3f6881bbac40 | 13 |