The Location Puck gives your smartphone context about its location. Built on the Puck IOT platform.
The location puck will give your smartphone context about the phone’s location. You can later set up rules for what should happen at different locations in the smartphone companion application (Puck Central).
A tutorial for the Location Puck is available on GitHub.
Tutorials and in-depth documentation for the Puck platform is available at the project's GitHub page
Diff: main.cpp
- Revision:
- 2:67d603617000
- Parent:
- 1:345039810771
- Child:
- 3:4cb285fb29e7
diff -r 345039810771 -r 67d603617000 main.cpp --- a/main.cpp Thu Jun 19 10:40:24 2014 +0200 +++ b/main.cpp Thu Jun 19 10:47:28 2014 +0200 @@ -12,20 +12,37 @@ clear(); led1 = 1; wait(delta); + + clear(); + led1 = 1; + wait(delta); clear(); led2 = 1; wait(delta); + + clear(); + led2 = 1; + wait(delta); } void drums(float delta) { clear(); led1 = 1; wait(delta); + + clear(); + led2 = 1; + wait(delta); + + clear(); + led2 = 1; + wait(delta); } int main() { while(1) { drums(0.3); + cycle(0.3); } }