Skip to Content
Make: Volume 84
book

Make: Volume 84

by Dale Dougherty
February 2023
Intermediate to advanced
128 pages
5h 59m
English
Make: Community
Content preview from Make: Volume 84
CODE YOUR APPLICATION
We will build an application in MakeCode to pass
serial data back and forth from the micro:bit and
the computer through a USB cable.
We’ll need to add a few lines of specialized
code, as shown in Figure
I
.
Start a new project and explore the Serial
category (aka Serial drawer) off to the side.
Place the large square serial redirect
to block into the on start block in your
workspace to initialize communication.
Set the TX and RX dropdown menus to USB_TX
and USB_RX respectively, and leave the baud
rate as high as it will go, 115200 (this allows
lightning fast data transfer).
We’ll need a way for the micro:bit to
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Make: Volume 83

Make: Volume 83

Dale Dougherty
Make: Volume 78

Make: Volume 78

Mike Senese
Make: Volume 82

Make: Volume 82

Dale Dougherty
Make: Volume 81

Make: Volume 81

Mike Senese

Publisher Resources

ISBN: 9781680457957Errata Page