I'm trying to access the buttons 4 and 5 and the LED 4 on the Zybo-10 PS. I searched these fora and found one seemingly relevant post but it has to do with petalinux and I'm just doing baremetal. I also downloaded the polled and interrupt examples (which I usually find really useful) but alas, not so for accessing these buttons and LED.
One snip from the XGPIOPS polled example includes these two items (Input_Pin and Output_Pin). I can't figure out what they reference though (I assume some exposed pin on the GPIO MIO though I don't find pins 10 or 14 on the Zynq block (second pic)). I also included a snip from the schematic but still can't make sense out of the 10 and 14 in the code snip (maybe the MIO pins?). Any chance there is a pointer to access these two buttons and LED somewhere?
FWIW, I have done the PMOD example project on the website when I was learning and found it very useful.
Question
engrpetero
I'm trying to access the buttons 4 and 5 and the LED 4 on the Zybo-10 PS. I searched these fora and found one seemingly relevant post but it has to do with petalinux and I'm just doing baremetal. I also downloaded the polled and interrupt examples (which I usually find really useful) but alas, not so for accessing these buttons and LED.
One snip from the XGPIOPS polled example includes these two items (Input_Pin and Output_Pin). I can't figure out what they reference though (I assume some exposed pin on the GPIO MIO though I don't find pins 10 or 14 on the Zynq block (second pic)). I also included a snip from the schematic but still can't make sense out of the 10 and 14 in the code snip (maybe the MIO pins?). Any chance there is a pointer to access these two buttons and LED somewhere?
FWIW, I have done the PMOD example project on the website when I was learning and found it very useful.
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now