code review
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
main.cpp@0:db2c7dc10f89, 2020-05-14 (annotated)
- Committer:
- thepaueu
- Date:
- Thu May 14 18:45:14 2020 +0000
- Revision:
- 0:db2c7dc10f89
Pawel Majtas cw 2d2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thepaueu | 0:db2c7dc10f89 | 1 | #include "KeyboardTsLcd.h" |
thepaueu | 0:db2c7dc10f89 | 2 | |
thepaueu | 0:db2c7dc10f89 | 3 | |
thepaueu | 0:db2c7dc10f89 | 4 | |
thepaueu | 0:db2c7dc10f89 | 5 | int main(){ |
thepaueu | 0:db2c7dc10f89 | 6 | |
thepaueu | 0:db2c7dc10f89 | 7 | KeyboardTsLcd KeyboardLeft(0); |
thepaueu | 0:db2c7dc10f89 | 8 | LedLcd Led(2); |
thepaueu | 0:db2c7dc10f89 | 9 | |
thepaueu | 0:db2c7dc10f89 | 10 | while(1){ |
thepaueu | 0:db2c7dc10f89 | 11 | |
thepaueu | 0:db2c7dc10f89 | 12 | Led.On(3 - KeyboardLeft.eRead() ); |
thepaueu | 0:db2c7dc10f89 | 13 | wait_ms(100); |
thepaueu | 0:db2c7dc10f89 | 14 | |
thepaueu | 0:db2c7dc10f89 | 15 | } |
thepaueu | 0:db2c7dc10f89 | 16 | |
thepaueu | 0:db2c7dc10f89 | 17 | } |