Archives: Encyclopedia

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. The Camera module allows you to use your mobile camera for different activities…

run motor () in direction () with speed () %

The block takes the motor port, the direction of rotation (forward or reverse) and speed of rotation (between 0 to 100 %) as input from the user and rotates the motor accordingly.
All articles loaded
No more articles to load
Close Menu
×

Cart