Hi Lina,
You will need to capture the interrupt coming from the button push and act
on it accordingly. You will also probably want to debounce the button as
you're at it.
As an example take a look at TestUserButton in
tinyos-2.x-contrib/shimmer/swtest/UserButton
This app includes debouncing and
Hi all,
I have an extra-added push-button to my shimmer2r unit (in Port25) that I want
to work as a start/stop signal for the JustFATLogging.
Have anyone done this before and can help me on how to do this? I would be very
greatful!!
--
Best Regards,
Lina Lundgren