This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
oak:tutorials:python-send [2016/03/24 21:46] jwhendy created |
oak:tutorials:python-send [2016/09/16 21:44] (current) jwhendy missed a closing code block |
||
|---|---|---|---|
| Line 136: | Line 136: | ||
| "return_value": 1073 | "return_value": 1073 | ||
| } | } | ||
| + | </code> | ||
| Change the values in the ''python'' file and re-run it. You can now use a programming language to send data to your Oak! | Change the values in the ''python'' file and re-run it. You can now use a programming language to send data to your Oak! | ||
| Line 221: | Line 222: | ||
| When we have the appropriate code uploaded to both the Arduino and the Oak, we can read the potentiometer, transmit it to the cloud, and have the Oak update based on it's value! I've commented out the line for printing ''r.text'', so this demonstration will only show the RGB values being translated by the Arduino and sent over serial: | When we have the appropriate code uploaded to both the Arduino and the Oak, we can read the potentiometer, transmit it to the cloud, and have the Oak update based on it's value! I've commented out the line for printing ''r.text'', so this demonstration will only show the RGB values being translated by the Arduino and sent over serial: | ||
| + | [[http://digistump.com/wiki/_media/oak/tutorials/oak-python-send.gif|{{http://digistump.com/wiki/_media/oak/tutorials/oak-python-send.gif?500}}]] | ||
| ===== Conclusion ===== | ===== Conclusion ===== | ||