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

Reading and writing to GPIO pins from a sample Zephyr project

I looked at Blinky, but I am still not sure how to access the GPIO pins.  In Blinky, there is an led0 alias, but what about other pins?  What are there aliases?

Specifically, this is what I need to do.

1. I need to read from P0.03, I was told this could handle analog to digital convertesion, because I have analog output going to this pin. 

2. I need to write to P0.27 and P0.26

Any help would be appreciated.

Related