Skip to Main Content
BBC Micro:bit in Practice
book

BBC Micro:bit in Practice

by Ashwin Pajankar, Abhishek Sharma, Sandeep Saini
December 2022
Intermediate to advanced content levelIntermediate to advanced
292 pages
5h 45m
English
Packt Publishing
Content preview from BBC Micro:bit in Practice

6

Interfacing External LEDs

In the previous chapter, we learned how to work with a built-in programmable LED matrix display and a pair of programmable built-in push buttons. We are now comfortable with using them in our projects.

This chapter explores how to connect with external discrete LEDs and products based on them. We will create exciting projects involving LEDs. We will also use our knowledge of working with built-in buttons to add interactivity to our projects. After that, we will start creating electronic circuits and program them with MicroPython.

The following is the list of topics that we will explore in this chapter:

  • Breadboards and solderless circuits
  • LEDs and their programming
  • Chaser effect
  • RGB LED
  • Seven-segment display

Let’s ...

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

The Official BBC Micro:bit User Guide

The Official BBC Micro:bit User Guide

Gareth Halfacree

Publisher Resources

ISBN: 9781804610121Supplemental Content