Approved content
The content below is provided by a partner.
Open this page at Bouw je BEP extension
With Bouw je BEP (Build your BEP) we aim to make technology more accessible, fun and personal for all children and teachers. BEP stands for build emote and play. It combines technology with emotion and provides a base for anyone to create their own unique character. BEP stimulates the creativity of children and the growth of technical skills. We understand technology and coding can be very intimidating, that’s why we designed BEP to be approachable to be used and teach!
This extension uses the 4tronix ServoBit with a PCA9685 to control a Bouw je BEP (https://bouwjebep.nl/onze-leskisten) robot kit with 5 independent servos and a LED. Helper commands are available to set individual servos to 3 differant degrees to program BEP’s expressions or emotion.
This repository can be added as an extension in MakeCode.
To edit this repository in MakeCode.
How to move parts of BEP:
BEP.servoWrite(BEP.Servos.Righteye, 1)
BEP.servoWrite(BEP.Servos.Lefteye, 1)
BEP.servoWrite(BEP.Servos.Yellowgear, 1)
BEP.servoWrite(BEP.Servos.Righteyebrow, 1)
BEP.servoWrite(BEP.Servos.LefteyeBrow, 1)
Change the numbers and hit download.
The 4tronix ServoBit has a single FireLed fitted to act as a status indicator. This library defines some helpers for using it. The LED is automatically updated after every setting
// Clear LED
ServoBit.ledClear();
// Set LED to Red
ServoBit.setLedColor(ServoBit.vColours(vColors.Red));
// Set brightness of LED
ServoBit.ledBrightness(40);
// Start Flashing the LED with Green
ServoBit.startFlash(ServoBit.vColours(vColors.Green), 100);
// Stop flashing the LED
ServoBit.stopFlash();
MIT
Bouw je BEP=github:Bouw-je-BEP/Bouw-je-BEP#v1.2.2