May I suggest looking into CircuitPython or MicroPython? CircuitPython is well-supported by Adafruit, and works very well on RP2040s and ESP32s
I've looked into both, but I'd still prefer to write in typescript over python. Although those are both pretty decent. Of course, all my work stuff is still in C and C++ and will probably stay that way.
That was the primary decision for working with TypeScript over Python. While I like, it's not my daily language of choice.
Now I'm intrigued, because I'm working more and more with Typescript as part of my DevOps work. I'll have to give it a try!
I'm trying to learn C++ just because of how widespread its use is.