[PictoBloxExtension]
Junior Blocks – Control
Extension Description
Sound blocks are related to playing various sounds, whether they be Instrument notes or saved sounds.
-
Available in: Block Coding
-
Mode: Stage Mode
-
WiFi Required: No
-
Compatible Hardware in Block Coding: Quarky, Wizbot
-
Compatible Hardware in Python: Not Applicable
-
Object Declaration in Python: .
-
Extension Catergory: Junior Blocks
Introduction
Sound is one of the 6 categories of default Junior blocks. They are color-coded pink/magenta and are used to play various sounds, whether they be Instrument notes or saved sounds.
Sounds are used for many things, and many different types are used. Sounds effects may be used in games, and music can be used in the background or as part of an intro or outro.
Read More
PictoBlox Blocks
The block gets values of the video, either motion (on a scale of 1 to 100) or direction (which way the detected motion is going, measured on the same plane as sprite direction), on either the Stage or the current sprite. If there is no video, the block will return -1. It calculates the values based on “optical flow”.
This block reads the value from the analog pins of boards such as Arduino Uno, Arduino Mega, or Arduino Nano. It returns the 10-bit resolution of the analog pin, with a range of 0 – 1023, which is mapped to the voltage of the pin (usually 0 – 5V). For example, if the value received is 512, then the voltage is roughly 2.5V.
All articles loaded
No more articles to load
Table of Contents