1. Make sure FunKey is in Programming Mode.
Connect S/J and plug in the FunKey.
2. Add sensors and outputs to the ports
3. Using Chrome, go to the links below. An editor will launch with examples. You can edit the examples, and load and save code files from your computer.
Here's another example that uses a sensors and outputs with comments in the code.
Here's another example that uses a servo motor controlled by a potentiometer. The servo is connected to port D0 (G) and the potentiometer is connected to port A0 (M)
Heartbeat recorder example: The heartbeat sensor is connected to port A0(M). Place the sensor on your skin, give it a while to stabilize and you should see dips in the graph when your heartbeat is detected. Try different areas on your palm, fingertip or cheek.
Theremin: sensor on port A0 controls the frequency of sound
Make SURE you have potentiometers connected to A0 and A1
Potentiometers control the frequency of sound of two inputs
Control the light level of an LED using "pwm" on port 3, 5, 6 or 13