Bill Sousan

Reading the User buttons (KEY1, KEY2, etc..)

Discussion created by Bill Sousan on Jun 20, 2012
Latest reply on Oct 24, 2012 by andreass.

I have my iMX28EVK booting and mounting the rootfs from the host PC.  I found that I can control the LED's (LED2 and LED3 on the eval board) by writing the value of 0 - 255 to:




So is there a similar file in the /sys directory where one can read the status of the user buttons?  Reading through the docs it looks like the user buttons are routed through LRADC1  (analog to digital converter) and will generate specific digital values that represent each button.