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

Read GPIO pin status through a characteristic.

Hi,

I am new to nrf and trying to make some new services and characteristics for my device. I followed the advertising, services and characteristics tutorial and was successfully able to make a new service and new characteristic.

But now I want to read the status of my D5 pin(P0.28 in nrf51822) using the same characteristics. I tried a lot of things but still not able to do so.

I am not getting what to change and where to change so that the particular GPIO is readable from the characteristic. Please help me. Thanks.

Related