Here is a simple example to start with SPIN : making a led blink.
You will need :
- 1 spin
- A usb-c cable to supply power to the spin, and also upload the code from computer
The led is toggled in the background task called each 1s, which means the leed will blink at the rate of 1s :
spin.led.toggle();
Visual result : the led should turn on and off.