Krzysztof Miskowicz, MBED cz. 1
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI KEYBOARD_TS MBED BSP_DISCO_F429ZI
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 }
Generated on Tue Nov 8 2022 10:51:12 by 1.7.2