Archives: Encyclopedia

Motion Block

Motion blocks are color-coded medium-blue and are used to control a sprite’s movement. They are available only for sprites.

move () in () axis in () ms

Move to () in () axis in () ms block is a stack block available in Robotic Arm extension for evive and other Arduino boards.…

move () speed () moving size ()

Move () speed () moving size () block is a stack block available in Humanoid Robot extension for evive and other Arduino boards. This block is to…

navigation key is in state () ?

evive has a 5-way navigation key, 4 of them are for up, down, right and left direction. This block checks if the navigation key is in one of the four particular directions. The direction for which you wish to check is your choice and can be chosen from the drop down on the block.

Operator Block

Operator blocks are color-coded light-green and are used to script math equations and string handling.

play tone on () of note () & beat ()

When the block is executed it plays the tone of specified frequency/note for a specific duration/beat. The note and the beat can be selected from the drop-down menu. Also, the user can input the specific frequency and duration (in milliseconds).

potentiometer () reading

evive has two potentiometers whose analog outputs can be varied by turning the knob clockwise or anti-clockwise. This block returns the analog output of either of the potentiometer (from 0-1023).

read analog pin ()

The block returns the value of analog pins available in the connected hardware. Analog reading is of 10-bit resolution, hence the range of value is 0 to 1023. This range is mapped to the voltage of the pin (normally 0 to 5V). If the value received is 512, the voltage value will be around 2.5V.

read analog sensor ()

The block reports the analog reading from analog sensor varying between 0 to 1023, connected to the selected analog pin.

read state of digital pin ()

The block reads the state of the digital pin on evive (“High” or “Low”). If the state of the pin is “High”, it returns True, else False.

refresh data

This block refreshes the data sent to the hardware device from Dabble app.

Reporter Block

A reporter block is a block that contains a value. These blocks can contain anything, from numbers to strings. Boolean Blocks are a special form of reporter blocks that report either “true” or “false”. To quickly view the value of a reporter, simply click it in the editor and a bubble will display the value.

reset timer

The block sets the timer’s value back to 0.0. Usually, the timer must be reset at the beginning of a project for the Timer block to hold the right value.

rotate camera to () side

Rotate camera to () side is a stack block available in Dabble Extension for evive and other Arduino boards. The Camera module allows you to use…