[riot-devel] Event Driven Button

Hauke Petersen hauke.petersen at fu-berlin.de
Fri Feb 5 18:36:45 CET 2016


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 at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160205/fb8cb0cc/attachment.html>


More information about the devel mailing list