Posts: 29
Registered: ‎12-16-2016

Thunderboard sense GPIO

[ Edited ]

Dear experts,


I am struggling with reading state of GPIO on thunderboard sense.

I want to read state of PF3 which goes to expansion header 7

I want to wait till the GPIO pin goes low and carry out further work as soon as pin goes low.

I dont need interrupt for this can i wait infinitely till the pin goes low(i know its bad programming practice but still) ?


i want to do something like below


do work further;

Please help


It’s not the years in your life that count. It’s the life in your years.
Posts: 282
Registered: ‎09-21-2016

Re: Thunderboard sense GPIO




Do you want to create a new empty application, or do you want to modify the ThunderBoard Sense sample application?


In the first case I suggest you using one of the following solutions:


In the second case, add your status check to connectionActiveIteration() in radio_ble.c 


Best Regards,