OpenMV: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(talk | contribs)
getting started
 
(talk | contribs)
m red ~= record
Line 2: Line 2:


# Connect USB to Power Source
# Connect USB to Power Source
''That's it, you are done. If you should be seeing a blue blinky''
== mod blinky ==
Blink briefly with the red LED. This make it look like a cheap security camera.
<pre>
import pyb, time
led = pyb.LED(1)
usb = pyb.USB_VCP()
while (usb.isconnected()==False):
  led.on()
  time.sleep(2)
  led.off()
  time.sleep(800)
</pre>

Revision as of 05:30, 9 November 2018

Getting to blinky

  1. Connect USB to Power Source

That's it, you are done. If you should be seeing a blue blinky


mod blinky

Blink briefly with the red LED. This make it look like a cheap security camera.

import pyb, time
led = pyb.LED(1)
usb = pyb.USB_VCP()
while (usb.isconnected()==False):
   led.on()
   time.sleep(2)
   led.off()
   time.sleep(800)