Hi,

I am not quite sure which button function you are referring to. If you mean the buttons mapped via SAUL, then there is no event drive API, yet. Though this is being worked on and will hopefully be introduced to RIOT soon...

Cheers,
Hauke


On 05.02.2016 17:37, Sugang Li wrote:
Dear all,

I notice that button function has been added to the latest version of RIOT. Basically, it gives 0 on pressing and 1 on releasing. Is there an event driven implementation for this button such onClick() or onPress()?

Thanks,

Sugang

--

*/WINLAB, Department of Electrical and Computer Engineering/*
*/Rutgers,the State University of New Jersey
/*


_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to