[riot-devel] Event Driven Button

Sugang Li sugang.li718 at gmail.com
Fri Feb 5 21:11:21 CET 2016


Thanks Hauke!  That explanation helps.

On Fri, Feb 5, 2016 at 12:36 PM, Hauke Petersen <hauke.petersen at fu-berlin.de
> wrote:

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


-- 

*WINLAB, Department of Electrical and Computer Engineering*

*Rutgers,the State University of New Jersey*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160205/4691f0bd/attachment.html>


More information about the devel mailing list