Krzysztof Miskowicz, MBED cz. 1

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI KEYBOARD_TS MBED BSP_DISCO_F429ZI

main.cpp

Committer:
krzysiek99
Date:
2020-05-08
Revision:
1:53c866f28268
Parent:
0:e989dd513005

File content as of revision 1:53c866f28268:

#include "mbed.h"
#include "KeyboardTsLcd.h"

int main()
{
    KeyboardTsLcd TouchKeyboard(0);
    KeyboardTsLcd LedKeyboard(2);
    while(1) 
    {
        wait(0.05);
        TouchKeyboard.eRead();
        wait(0.05);
        LedKeyboard.pLed->On(3 - TouchKeyboard.pKeyboard->eRead());
    }
}