This video investigates two different types of Python used on the BBC Micro:Bit.
This includes MakeCode Python from Microsoft and MicroPython as implemented using the online editor and the offline Mu or Thonny editors.
In this I show a demo of using Python with a 16x02 text LCD display. This is a Python version of the LCD display that I created using MakeCode blocks and JavaScript • Micro:bit LCD Display with microbit m...
I also look at pros and cons of both versions.
This includes support for the 1602 LCD display with I2C backpack and a negative "for range" problem which exists in the Microsoft MakeCode version.
I then let you know which I prefer and when it's more appropriate to use either version.
Chapters:
00:00 The different version of Python
00:43 The LCD display
01:30 LCD display hardware
04:02 Programming the LCD in MakeCode Python
12:50 Stop watch demo
13:24 MakeCode and Python formatting
16:21 The for range loop
18:17 Countdown with MicroPython
18:24 The broken for range in MakeCode
23:27 The MakeCode work around
24:59 MakeCode Python vs MicroPython