Hi Sir,
Here i am trying to configure deep sleep mode, four gpios are used, but if i press first gpio, based on the gpio pressed the device should transmit some data. if second gpio is pressed, wake up and transmit the different data, which depends on the which button pressed. Each button has different kinda data. it is possible to wake up and transmit the data in one button press event.????
Help me to resolve this..?
Hi TDC,
Thank you for posting your questions online.
Do you mean use one GPIO short/long press to distinguish different events?
Hope this example helps:
ble-sdk6-examples/interfaces/simple_button at main · renesas/ble-sdk6-examples · GitHub
BR,
JH_Renesas
No here i am trying to configure, four gpio imagine P0_5,P0_6,P0_7,P0_8 here i have configured each button as different data to be transmit.
Initially custom board in deep sleep, if press the button p0_5 the system should wake and transmit that data(based on which button pressed), then after 10 second, system enter into sleep, then i am pressing p0_8, the system should wake and transmit the data(based on same which button pressed), two event should occur for a single short button press.
is it possible, if yes, guide me to achieve this ?
Thanks for your info.
Now, this example will help you:
ble-sdk6-examples/interfaces/wakeup-button at main · renesas/ble-sdk6-examples · GitHub