evive Inbuilt Functions Extension

Scratch Extension enable you to control evive and Arduino in Scratch. Using evive Inbuilt Functions Extension block you can control the basic functionalities of evive like tactile-switches, slide-switches, potentiometer, motors, 5-way navigation key, touch inputs and Real Time Clock.

Upload Firmware
Upload Firmware
This block uploads evive firmware from which user can use menu based system to accomplish various simple tasks.
Tactile switch () pressed
Tactile switch () pressed
Tactile Switch block is a Boolean block which returns “TRUE” if the switch is pressed and “False” if the switch is not pressed.
Slide switch () is in state ()
Slide switch () is in state ()
Slide switch () is in state () block checks takes the slide switch number (1 or 2) and state to be checked for (Up or Down) as input and returns “True” if the slide switch is in the specified state.
Potentiometer () reading
Potentiometer () reading
evive has two potentiometers. Potentiometer () Reading block returns the analog output of either of the potentiometer (from 0-1023).
Channel () touched
Channel () touched
Channel () touched check if the specified channel is touched, if yes, then the block returns “True”, else it returns false.
Navigation key is in direction ()
Navigation key is in direction ()
Navigation key is in direction () block checks if the navigation key is in one of the four particular directions.
Navigation key z is pressed
Navigation key z is pressed
evive has a 5-way navigation key, which has a key that can be pressed. Navigation key z pressed block returns “True” if pressed, else it returns “False”.
Run motor () in direction () with speed ()
Run motor () in direction () with speed ()
Run motor () in direction () with speed () takes the motor port, direction of rotation and speed of rotation as input from the user and moves the motor.
set clock to () hours () minutes () seconds
set clock to () hours () minutes () seconds
Set clock block sets the time on evive’s Real Time Clock (RTC) to the time specified by the user though drop down menu in the input.
check clock for ()
check clock for ()
check clock for () returns the value of “hours”, “minutes” or “seconds” from evive’s Real Time Clock.
set date to ()/()/() and weekday ()
set date to ()/()/() and weekday ()
Set date to ()/()/() and weekday () sets the date and weekday on evive’s RTC to the time specified by the user though drop down menu in the input.
check date for ()
check date for ()
check date for () block returns the value of “date”, “month”, “year” or “weekday” from evive’s Real Time Clock