From Noisebridge
Jump to: navigation, search

Getting to blinky[edit]

  1. Connect USB to Power Source

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

mod blinky[edit]

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):

You can edit the main python code by editing the file that is accessible as a USB storage device when connected via USB.


Interactive coding can be done using the REPL. This is accessible via the USB as a serial interface.

hardware tricks[edit]

The device can be reset by shorting the RST ping to ground.