This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Controlling GPIO via UART on BLE

Hello

I am looking to make a program on nrf52 in which i send various values from nrf UART app on a mobile, and each value controls a LED on a GPIO. For example, sending 1 turns on the LED, 2 turns off, 3 blinks. Can you please provide me of a reference link which can help me in making this program.

Basically on UART BLE program, i want to include something like if the value in UART buffer=1, set gpio pin x= 1.

thanks in advance and for your time and help

Related