Krzysztof Miskowicz, MBED cz. 1

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI KEYBOARD_TS MBED BSP_DISCO_F429ZI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "KeyboardTsLcd.h"
00003 
00004 int main()
00005 {
00006     KeyboardTsLcd TouchKeyboard(0);
00007     KeyboardTsLcd LedKeyboard(2);
00008     while(1) 
00009     {
00010         wait(0.05);
00011         TouchKeyboard.eRead();
00012         wait(0.05);
00013         LedKeyboard.pLed->On(3 - TouchKeyboard.pKeyboard->eRead());
00014     }
00015 }