MicroPython and Britain's educational BBC micro:bit
MicroPython and Britain's educational BBC micro:bit
In the recent video, micropython was suggested as something which may be put into ROM in the future, and there was the hope of an educational role for the X16. Micropython already has a role in the British educational system. The BBC micro:bit is an educational microcontroller given to British schoolkids at quite an early level. The kids are first given a block programming system and can move up to MicroPython later. If MicroPython is ported to the X16, that might offer an opening for marketing it to the British educational system. Do note though that the microbit's micropython isolates programmers from the hardware. There's nothing equivalent to PEEK or POKE, you have to use the Python objects. An X16 port would probably have to represent all its hardware as Python objects too.
Re: MicroPython and Britain's educational BBC micro:bit
Maybe the memory could be represented as an object
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Re: MicroPython and Britain's educational BBC micro:bit
sure, I thing it can be represened as a special `bytearray` of length 65536
the underlying object would translate indexing into the array into regular pokes and peeks
the underlying object would translate indexing into the array into regular pokes and peeks