Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 760 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 760 Bytes

dweetPro™ Python Code Example

Example python code for using dweetPro with an RPi board.

The dweetProExample.py code is free to use as an example for connecting an RPi to the dweetPro messaging platform. This code sets up the RPi board with a motor shield connected to it, importing the necessary libraries.

Capture

The python code spins a motor for 3 seconds, notes the time, then sleeps for 30 seconds. The code then sends the timestamp to dweetPro.

Capture1.1

That timestamp can be visualized in a freeboard™ dashboard.

spinDash3

Read more about the project here: http://buglabs.tumblr.com/post/176850210186/how-to-connect-your-rpi-to-dweetpro