Tried yesterday for the first time the python REPL on a μcontroller board (#CircuitPython from #Adafruit but could have been #micropython or seeedstudio #ArduPy) It's quite cool to interact live with APIs... If you know someone interested in learning how to code, physical computing is more engaging than computing matrices products! Robotic, home automation, dynamic lightning with addressable RGB LED strips are all fun projects!
Don't like python? Ruby, Golang, lisp, rust, lua, #brainfuck! (and of course C/C++) all now have embedded implementations. They don't necessarily have a REPL running on the board itself, so it's edit-compile-link-flash-run cycle still. One #CircuitPython quirk though... lexical scoping in the REPL differs from Python (try pasting indented code into CircuitPython, you'll see...). And don't forget that interrupts aren't implemented (they are in #micropython). https://github.com/adafruit/Adafruit_CircuitPython_TSL2561/issues/19
Mamot.fr est un serveur Mastodon francophone, géré par La Quadrature du Net.