initialise () eye to DIN () CS () CLK ()

Initialise () eye to DIN () CS () CLK () block is a stack block available in Humanoid Robot extension for evive and other Arduino boards. This block defines the PWM pins to which the DIN (Data Input Pin), CS (Chipset Pin) and CL (Clock Pin) of the 8 * 8 Dot Matrix LED is connected.

Input Parameters

  1. Drop down to choose between left and right LED matrices.
  2. The next three drop-downs are to select the channels to which the pins are connected. By default, the values are set to 12, 10, and 11.
evive Notes Icon
Note: This block is available in both Stage and Upload mode.

Example

Here, in the given script, the eyes i.e. the 8 * 8 LED Matrix of humanoid will display the heart.

  1. Define PWM pins for the pins connected of the left eye.
  2. Define PWM pins for the pins connected of the right eye.
  3. Set the emotion you want to be displayed on the matrices.initialise block example
evive Notes Icon
Note: Before working with the Humanoid Robot, we need to calibrate the hands such that they are straight and calibrate the legs in such a way that they are facing forward.

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart

Stay home.🏡 Stay safe.🧴 Learn to code with us online.👩‍💻
Kickstart your coding journey with our Quarantine Special Course.
x