I have been teaching #micropython for a while...happy with it. Spending the summer looking at the #circuitpython environment...seems fine? Not totally sure why I would switch away from MP, CP seems only marginally more convenient. Perhaps you who are reading this feel strongly one way or the other? If this is the case I am interested to hear your thoughts!
I've reviewed the #pyscript + #pyodide examples and the simple 'hello world' downloads 15Mb and takes seconds.
Anyone has any news about pyscript + #micropython? I read the tests/blog posts several months ago but nothing new since then.
Don't get me wrong, Pyodide and the #scipy stack in the browser is amazing but something lighter (micropython) to create simple webs not depending on pyodide would also be awesome.
Pyodide is working hard to reduce the size but still.
A question! What is implied by a comment in #Micropython that simply reads " # ..." ? is it a known thing that I don't know? (Of which there are plenty!)
Maybe it's fun to share some day to day developments... Today I'm working on making our #Pybricks sensor API async-compatible at minimal cost.
Every byte counts, so I've arrived at something that costs just 4 extra bytes for each async method! Still learning new #MicroPython development tricks every day.
For those in the know... I'm basically modifying the commonly used MP_DEFINE_CONST_FUN... macros/types to "decorate" a C function to behave asynchronously.
Just updated my big list of more advanced / crazy BBC micro:bit projects. Make a binary adder! Print surreal stories on a thermal printer! Do the kettle run in less than 10 parsecs! Write a 7 segment LED display driver in MAKE CODE BLOCKS! Get kids making their own programming language for younger kids! Play NIM to win! And many more.
It's all here, fill your :bits! http://www.suppertime.co.uk/blogmywiki/microbit/ #microbit#Python#microPython#MakeCode
The #MicroPython meetup is happening in Melbourne in a bit, so I’m going to get some sleep here in the UK, and start my day with some tech knowledge in the morning 🐍
Yes, it can be a bit frustrating at times, especially if you find out thing a) best works in #CircuitPython, thing b) in #Micropython, but thing c) only works in C/C++ (and of course you've already started writing your code in either a) or b) )...
Updated the Pimoroni (are they on Mastodon yet?) Pico Enviro+ #MicroPython sample to use nicer vector/Hershey fonts, and to also emit the readings via #MQTT terrible "hacky-didn't-have-time-for-better-but-it-works" code https://github.com/andypiper/picow-enviroplus
Excellent evening at Oxford Python (thanks GitHub for hosting!). The work on CPython performance down to examining the way stack can be optimised and all of the other thought going on makes me grateful for smart folks who just enable me to enjoy writing code in Python! Wasp OS looks interesting for #MicroPython on wearables. 👀