Hi! I didn't use these sensors yet, but isn't it better to control the charging voltage by an analog input?
Anyway, you can use libpruio <http://beagleboard.org/project/libpruio/> to change the GPIO mode between INPUT or OUTPUT at run-time. (Your software has to run under root privilegues.) You could also connect a second pin with CAP functionality to measure the time by hardware (without polling the GPIO state). BR -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
