Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 00002 #include "mbed.h" 00003 #include "QT2100.h" 00004 00005 Serial pc(USBTX, USBRX); 00006 00007 QT2100 qtouch(p5, p6, p7, p8, USBTX, USBRX); 00008 00009 main(void) 00010 { 00011 qtouch.init(); 00012 qtouch.devId(); 00013 qtouch.verifyChannels(); 00014 00015 while(1) { 00016 00017 pc.printf(" QT2100 Controller: Button: %d Slider Value: %x\n", 00018 qtouch.keys(), qtouch.slider()); 00019 00020 wait_ms(50); 00021 } 00022 }
Generated on Wed Jul 13 2022 09:54:41 by
1.7.2
Atmel AT42QT2100 Capacitive Touch Controller