EasyManuals Logo

Waveshare Alphabot2 User Manual

Waveshare Alphabot2
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #16 background imageLoading...
Page #16 background image
Alphabot2 for micro:bit User Manual
16 / 76
2. Place show string block in on button pressed block to display string on LEDs
display. Duplicate and complete the script to as below:
3. Connect your micro:bit to PC, click Download to flash the code to your board.
Press buttons on micro:bit to test if expected string is displayed.
PRESSING 2
There is another way to detect buttons. In last section, codes are run when button is
pressed, here we use if then and button is pressed blocks to do the same thing.
Instead of running code directly, a Boolean value
2
“true” is returned if button is
pressed, “false” if button is not be pressed.
2
Boolean value: True or False

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Waveshare Alphabot2 and is the answer not in the manual?

Waveshare Alphabot2 Specifications

General IconGeneral
BrandWaveshare
ModelAlphabot2
CategoryRobotics
LanguageEnglish

Related product manuals