mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Wait 1s before pressing the button to give the button sensor time to activate
This commit is contained in:
parent
3746ffb4f1
commit
2e7ade836e
@ -230,6 +230,8 @@ for (i=1; i <= 10; i++) {
|
||||
}
|
||||
|
||||
WAIT_UNTIL(id == 1 && msg.contains('Starting'));
|
||||
GENERATE_MSG(1000, "continue");
|
||||
YIELD_THEN_WAIT_UNTIL(msg.equals("continue"));
|
||||
log.log("Node 1 started. Clicking node button.\n");
|
||||
mote.getInterfaces().getButton().clickButton()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user