About
The Maker Microsoft MakeCode editor allows to program various Cortex-based microcontrollers.
Programming: Blocks or JavaScript
You can program the board using Blocks or JavaScript in your web browser.
forever(function() {
pins.LED.digitalWrite(true)
pause(500)
pins.LED.digitalWrite(false)
pause(500)
})
forever(function() {
pins.LED.digitalWrite(true)
pause(500)
pins.LED.digitalWrite(false)
pause(500)
})
The editor work in most modern browsers, work offline once loaded and do not require any installation.
Compile and Flash: Your Program!
When you have your code ready, you connect your board to a computer via a USB cable then press the reset button so it appears as a mounted drive (named board).
Compilation to machine code from Blocks or JavaScript happens in the browser. You save the binary program to a .uf2 file, which you then copy to the board drive, which flashes the device with the new program.
Simulator: Test Your Code
You can run your code using the Metro Express simulator, all within the confines of a web browser.
forever(function() {
pins.LED.digitalWrite(true)
pause(500)
pins.LED.digitalWrite(false)
pause(500)
})
Open Source
Maker is open source on GitHub at https://github.com/microsoft/pxt-maker .
Forum and chat
- Post a question on the MakeCode Forum
- Chat with other users on the MakeCode Discord