simplest way to read switch


What's the simplest way to read if a switch is in an off / on position
with the beagle? There seem to be a couple of ways to do this and I
was wondering which is the most efficient.


ec :slight_smile:

Forgive me if I'm wrong as I'm new to the Beagle, but if you're
talking about the User button - couldn't you just read one of the many
sysfs interfaces for the corresponding GPIO? (You could find the GPIO
in the System Reference Manual).