Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
BBC Micro:bit in Practice

You're reading from   BBC Micro:bit in Practice A hands-on guide to building creative real-life projects with MicroPython and the BBC Micro:bit

Arrow left icon
Product type Paperback
Published in Dec 2022
Publisher Packt
ISBN-13 9781804610121
Length 292 pages
Edition 1st Edition
Arrow right icon
Authors (3):
Arrow left icon
Sandeep Saini Sandeep Saini
Author Profile Icon Sandeep Saini
Sandeep Saini
Ashwin Pajankar Ashwin Pajankar
Author Profile Icon Ashwin Pajankar
Ashwin Pajankar
Abhishek Sharma Abhishek Sharma
Author Profile Icon Abhishek Sharma
Abhishek Sharma
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1: Getting Started with the BBC Micro:bit
2. Chapter 1: Introduction to the BBC Micro:bit FREE CHAPTER 3. Chapter 2: Setting Up the Micro:bit and Using Code Editors 4. Chapter 3: Python Programming Essentials 5. Chapter 4: Advanced Python 6. Part 2: Programming Hardware with MicroPython
7. Chapter 5: Built-in LED Matrix Display and Push Buttons 8. Chapter 6: Interfacing External LEDs 9. Chapter 7: Programming External Push Buttons, Buzzers, and Stepper Motors 10. Part 3: Filesystems and Programming Analog I/O
11. Chapter 8: Exploring the Filesystem 12. Chapter 9: Working with Analog Input and PWM 13. Part 4: Advanced Hardware Interfacing and Applications
14. Chapter 10: Working with Acceleration and Direction 15. Chapter 11: Working with NeoPixels and a MAX7219 Display 16. Chapter 12: Producing Music and Speech 17. Chapter 13: Networking and Radio 18. Chapter 14: Advanced Features of the Micro:bit 19. Chapter 15: Wearable Computing and More Programming Environments 20. Index 21. Other Books You May Enjoy

Working with MicroFS

MicroFS is a simple command-line tool to interact from your computer with the filesystem of Micro:bit. It works with the command line interpreter program of your computer’s operating system (MS Windows, Linux, FreeBSD, and macOS). We must download it first from https://www.python.org/downloads/ and then install it. While installing, check all the options, as shown in the following screenshot:

Figure 8.5 – Installing Python, pip, and IDLE

You also need to check all the options on the next screen of the installation wizard, as shown in the following screenshot:

Figure 8.6 – Advanced Options

This will install Python, pip (pip installs Python; it’s a recursive acronym, a technical pun), and Integrated Development and Learning Environment (IDLE). pip is a package manager for Python. It will also add Python and pip to the list of environment variables, enabling us to launch it directly from...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime