Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18336

Re: Pin-Toggle ("Blink") script for Edison

$
0
0

That's alot of work... I just do this:

 

import mraa
import time

x = mraa.Gpio(7)
x.dir(mraa.DIR_OUT)

while True:
  x.write(1)  time.sleep(0.2)  x.write(0)  time.sleep(0.2)

Viewing all articles
Browse latest Browse all 18336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>