2014-03-11 04:32 AM
Hi all,
I have developped a simple example of controlling LEDs on STM32F4-Discivery and button state acquisition. The example uses USB as a communication pipe.A PC host application is developped using both libusb and pthread libraries. The IDE used is CodeBlocks.The PC host appication launches two threads: - One thread for controlling LEDs state - Another thread for acquiring the button's stateAnyone interested in the application should send me an email to jjackbauer7 at gmail.comOnly valid emails (name.surname) will be considered. #libusb-usb-codeblocks2014-03-16 12:33 AM
Hi all,
You find attached a screenshot of the example. On PC host, I am using CodeBlocs + libusb On STM32, I am using CDC example Any feadback is welcome. PS: Now I want to use GUI instead of CLI but I am a little bit lost how to use CodeBlcoks with Qt and GCC !!! Thanks, ________________ Attachments : STM32F4-Discovery_Libusb.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0hh&d=%2Fa%2F0X0000000bcj%2FEhX9zndPjaqtDmpsijh_n_op9SByYFFblJJbba7xukg&asPdf=false