Help and tutorials will be online very soon! Please check back in a few days.
For now you can check out the references.
If you just received your board and want to get started straight away, try typing
the following code into the
main.py file on the board. Then save
and reset the board.
import pyb switch = pyb.Switch() leds = [pyb.LED(i+1) for i in range(4)] accel = pyb.Accel() i = 0 while not switch(): y = accel.y() i = (i + (1 if y > 0 else -1)) % len(leds) leds[i].toggle() pyb.delay(10 * max(1, 20 - abs(y)))