Hi:
I am using AM335x starter kit, as the article title, how to make my program can derive the signal from button(board peripheral)?Are there any APIs I can use?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The 4 user keys on the AM335X SK are tied to GPIO0_30, GPIO2_3, GPIO2_2 and GPIO2_5. You have to poll the corresponding GPIOs to check if the keys are pressed.
Hi:
I use gpio_get_value() in my driver, there is no problem. But when i tried to call fwrite() in the user space to call corresponding function in my driver, first time everything is OK, and then I call fwrite again, my driver seems to not work(The function in my driver didn't print out anything on the console), i don't know what happened?