Re:MicroPython
by sitkack on Sunday August 16, 2020 @09:46PM
(#24183060)
The biggest thing you are underselling (if at all), is that you can have a repl directly into the device itself and doing lots of exploratory programming directly in-circuit.
[ Parent
| on HN ]
Re:MicroPython
by matt_trentini on Sunday August 16, 2020 @10:42PM
(#24183372)
Yes, this is a complete game-changer; I love showing experienced embedded engineers how to connect to the REPL, and poke live, interactive I2C or SPI at a peripheral. :)
I only wish Micropython had a real debugger (pdb).
Re:MicroPython
by matt_trentini on Monday August 17, 2020 @12:32AM
(#24184015)
#5026 was merged last year; it provides the sys.settrace primitive which paves the way for debugging support.
https://github.com/micropython/micropython/pull/5026
Still quite a lot of work left for pdb-like features but I'm optimistic it'll get there!
Re:MicroPython
by joshspankit on Sunday August 16, 2020 @10:20PM
(#24183253)
This jumps it to the top of my list of tech to explore on microcontrollers.
PEEK
POKE
(who named these interesting commands?)
Via https://en.wikipedia.org/wiki/PEEK_and_POKE:
> One of the earliest references to these commands in BASIC, if not the earliest, is in Altair BASIC[4].
[4] https://archive.org/stream/bitsavers_mitsMITSAl_6669937/MITS...
So, it seems to date back to 1975.