The EK-TM4C123GXL has three pushbuttons on it. Any code examples for them? I did not find anything with button in the title but I bet they are used somewhere.
Thank you,
John
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The EK-TM4C123GXL has three pushbuttons on it. Any code examples for them? I did not find anything with button in the title but I bet they are used somewhere.
Thank you,
John
Hello John,
We don't have a dedicated buttons example but we provide full drivers for the LaunchPad buttons that can be added to any example project in C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\drivers\button.c
You will need to #include drivers/buttons.h for projects using that.
Our Getting Started Guide offers insight on how to add files to TivaWare projects in Section 3.1: https://www.ti.com/lit/pdf/spmu373
Best Regards,
Ralph Jacobi
Thanks Ralph,
I was just fixing to look at GPIO in the user's guide and the schematic figuring they were GPIO interrupts. So I can stop searching and I appreciate the leg up.
John
Hi John,
Glad that helps! Also I forgot to mention but of the three buttons, two of them are for example use, the third is the RESET button to reset the LaunchPad and that is tied to the /RST pin on the device. That button is the one above the BoosterPack headers as part of the ICDI circuitry in the upper ~third of the LaunchPad.
Best Regards,
Ralph Jacobi
Yep, verified that after I found my 3.25 diopter cheaters. I also just mashed all of them at first power up figuring one would do that harmlessly.
Best regards,
John