YOUR ACCOUNT
CONTACT
ABOUT MODULAR ROBOTICS
FORUM
BLOG
CUBELETS
CODE
get_distance()
Description
Returns the value of the distance sesor
Compatibility
Distance Blocks
Return
The value of the distance sensor. A number 0-255.
Example
void setup() { } void loop() { sense(); } void sense() { block_value = get_distance(); }