Bare metal micro:bit: Difference between revisions

From Bare Metal micro:bit
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
Chapters will appear one-by-one in coming weeks, starting with some experiments with programming the {{microbit}} in machine code.  If you want to follow along as the book grows, you should get a {{microbit}} and either a Raspberry Pi or a Linux laptop, and begin with the appendices about [[Appendix A: Hardware setup|hardware]] and [[Appendix B: Software setup|software]] setup.  The hardware setup instructions include some modifications to the {{microbit}} that will come in handy later, but you don't have to do them before beginning with the first experiment.
Chapters will appear one-by-one in coming weeks, starting with some experiments with programming the {{microbit}} in machine code.  If you want to follow along as the book grows, you should get a {{microbit}} and either a Raspberry Pi or a Linux laptop, and begin with the appendices about [[Appendix A: Hardware setup|hardware]] and [[Appendix B: Software setup|software]] setup.  The hardware setup instructions include some modifications to the {{microbit}} that will come in handy later, but you don't have to do them before beginning with the first experiment.


Feedback is very welcome, and you can send me e-mail to spivoxity@gmail.com, or raise issues on the github page if you prefer: http://github.com/Spivoxity/baremetal.
Feedback is very welcome, and you can send me e-mail to [mailto:spivoxity@gmail.com spivoxity@gmail.com], or raise issues on the github page if you prefer: http://github.com/Spivoxity/baremetal.


[[Image:cover.png|400px|thumb|right|Front cover]]
[[Image:cover.png|400px|thumb|right|Front cover]]

Revision as of 16:15, 5 November 2020

Twenty experiments in low-level programming

This book describes a series of experiments in programming the BBC micro:bit at a low level.

Chapters will appear one-by-one in coming weeks, starting with some experiments with programming the micro:bit in machine code. If you want to follow along as the book grows, you should get a micro:bit and either a Raspberry Pi or a Linux laptop, and begin with the appendices about hardware and software setup. The hardware setup instructions include some modifications to the micro:bit that will come in handy later, but you don't have to do them before beginning with the first experiment.

Feedback is very welcome, and you can send me e-mail to gmail.com spivoxitygmail.com, or raise issues on the github page if you prefer: http://github.com/Spivoxity/baremetal.

Front cover

Front matter

Part 1: Machine code programming

Part 2: Input/output devices

  • X2400 – Neopixels. Use assembly language to make a bit-banged implementation of the protocol for WS2812 'NeoPixel' LEDs.

Part 3: Embedded operating system

Appendices

Web only



Copyright © 2019–21 J. M. Spivey. All rights reserved.