I upgraded my #childhood#lego#train to use #Pybricks#MicroPython. It stops at train stations now. No rail loops required. The passengers are happy about this --- considering they've been asleep like that for about 20 years...
There's a brand new #Pybricks#MicroPython release that adds Bluetooth communication between all LEGO smart hubs! Time to make some amazing smart Christmas displays this year... Try it now at https://pybricks.com/
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.