Skip to Main Content
BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks
book

BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks

by Pradeeka Seneviratne
June 2019
Beginner content levelBeginner
367 pages
6h 3m
English
Apress
Content preview from BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks
© Pradeeka Seneviratne  2019
Pradeeka SeneviratneBBC micro:bit Recipeshttps://doi.org/10.1007/978-1-4842-4913-0_6

6. Inputs and Outputs

Pradeeka Seneviratne1 
(1)
Udumulla, Mulleriyawa, Sri Lanka
 

In this chapter, you learn how to handle inputs and outputs with micro:bit through the edge connector. The 21 I/O pins can be used to work with analog, digital, I2C, SPI, and UART. Some I/O pins are also specialized to build touch-sensitive applications. The micro:bit only exposes three I/O pins through the edge connector for basic users. If you want to access the full set of I/O pins, you can use an edge connector breakout.

6-1. Using Edge Connector

Problem

You want to connect the pins 0, 1, 2, 3V, and GND to an external component.

Solution

Connect the external ...
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

Beginning e-Textile Development: Prototyping e-Textiles with Wearic Smart Textiles Kit and the BBC micro:bit

Beginning e-Textile Development: Prototyping e-Textiles with Wearic Smart Textiles Kit and the BBC micro:bit

Pradeeka Seneviratne

Publisher Resources

ISBN: 9781484249130Purchase LinkPublisher Website