This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arduino-call-python [2014/05/25 20:06] zoza created |
arduino-call-python [2014/05/26 16:11] (current) zoza |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Arduino code calling a Python script ====== | ||
+ | |||
<code java> | <code java> | ||
Line 22: | Line 24: | ||
// execute the script every (1)seconds | // execute the script every (1)seconds | ||
- | runPaj(); | + | // runPaj(); |
- | delay(1000); | + | // delay(1000); |
+ | |||
+ | //no need to do that if the script is running in a loop and it only closes the port when it is stopped | ||
} | } | ||