JoyFrog Controller Coding with Kittenblock

Kittenblock Coding Tutorial

../../_images/kbbanner.png

Connect JoyFrog to a computer with a USB cable.

../../_images/joyfrogcon.png

Select JoyFrog from the Hardware selection menu.

../../_images/jfadd.png

The programming blocks for JoyFrog will be added.

../../_images/jfsuccess.png

Click the Exclamation Mark Icon and select your device.

../../_images/jf11.png

A melody will sound when JoyFrog is connected to Kittenblock.

../../_images/jf12.png

Using the buttons and the joystick.

The buttons and the joystick input is mapped to individual keyboard keys.

../../_images/jf_2p3.png

The edge connectors are mapped to the number keys.

../../_images/jf13.png

Making a Piano:

We can make a basic piano using the edge connectors.

Try connecting different conductive objects to create your own unique keyboard!

The notes correspond to numbers 1~8.

../../_images/jf14.png

../../_images/piano1.png

You can connect earphones or speakers to the 3.5mm audio jack.

../../_images/joyfrog_3.5.png

InfraRed Trasmission and Receive:

Transmitting and receiving an infrared signal.

The infrared signals are in a hexadecimal format.

../../_images/jf15.png

Digital read and write:

Reading and writing digital values.

../../_images/joyfrogButton.png

../../_images/jf16.png

Analog read and write:

Reading and writing analog(PWM) values.

../../_images/joyfrogServo.png

../../_images/jf17.png