These examples demonstrate code generated with KinomaJS Blocks running on Kinoma hardware with off-the-shelf sensors. If you build a project with KinomaJS Blocks, and want to share it with the wider developer community, let us know!
Create a new screen, add a button element to the screen, and change the screen color property on button press.
Push an onscreen button to make the dog bark using a sound block.
Use a clock to display the time in seconds since the app began.
Make a simple blinking LED.
Read an analog sensor, and change an onScreen element.
Play a sound by touching a physical button.
This simple game puts your reaction time to the test. Go between multiple screens, as well as pass data from one screen to another.
This game further extends the principle of Reaction Game #1, by adding a screen that has actively updating animations.
This simple example shows how to use the advanced blocks to send and receive remote function calls from device to device. Open two instances the example code, and change the "remote ip address" to the address of the other device. Then after running both, the randomly changing screen colors should sync up with each other.
Note: If you only have one device, you can still send calls between your device and a simulator (see: Starting a Hardware Simulator in Kinoma Studio).