Frank Weissenborn
/
DogMTest
Testprogramm DogM
main.cpp@4:99738699678d, 2011-01-12 (annotated)
- Committer:
- FrankWeissenborn
- Date:
- Wed Jan 12 21:28:22 2011 +0000
- Revision:
- 4:99738699678d
- Parent:
- 3:20c91507bab6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
FrankWeissenborn | 0:03802d76fced | 1 | #include "mbed.h" |
FrankWeissenborn | 0:03802d76fced | 2 | |
FrankWeissenborn | 4:99738699678d | 3 | #include "DogM16x.h" |
FrankWeissenborn | 0:03802d76fced | 4 | |
FrankWeissenborn | 4:99738699678d | 5 | DogM16x display(p22, p23, p24, p25, p19, p20, p18, p21, DogM16x_DogM163); //(db0,db1,db2,db3),_rw(rw),_rs(rs),_enable(enable),_reset(reset) |
FrankWeissenborn | 0:03802d76fced | 6 | |
FrankWeissenborn | 0:03802d76fced | 7 | |
FrankWeissenborn | 0:03802d76fced | 8 | int main() { |
FrankWeissenborn | 3:20c91507bab6 | 9 | |
FrankWeissenborn | 3:20c91507bab6 | 10 | |
FrankWeissenborn | 0:03802d76fced | 11 | display.WriteString("Hallo"); |
FrankWeissenborn | 0:03802d76fced | 12 | wait(2); |
FrankWeissenborn | 0:03802d76fced | 13 | display.Clear(); |
FrankWeissenborn | 4:99738699678d | 14 | display.WriteString("Hallo22", 2 , DogM16x_LINE_TWO); |
FrankWeissenborn | 0:03802d76fced | 15 | } |
FrankWeissenborn | 0:03802d76fced | 16 | |
FrankWeissenborn | 0:03802d76fced | 17 | |
FrankWeissenborn | 0:03802d76fced | 18 | |
FrankWeissenborn | 0:03802d76fced | 19 |