19 karma · joined Nov 5, 2023 (3y ago) · 8 submissions
comment 2y ago · link · parent
So if you limit the input current (typically <5mA, and assuming the steered-to rail uses at least 5mA to sink it) it will survive any voltage. (Of course if it's a low power design or the device is off this wont work that well, then you want external clamping)
I have tested 24V AC applied to an stm32f0 pin with a 10K series resistor and it survives that indefinitetly.
comment 2y ago · link · parent
That's precisley why official/standard build systems suck, they are extremly cumbersome to wrangle when you go off the beaten path.
So the irony is that standard build systems/package manager are whats good for hello worlds, non-trivial programs require custom build steps.
Just let me write a build.bat/build.sh per platform/compiler/configuration that are explicit and precise in compiler flags, paths, output files, pre/post processing, etc so nothing magical is happening under the hood.
comment 2y ago · link · parent
Small scrappy team writing simple and consice code from scratch is likely to produce fewer bugs than enterprisey monstrosities.
comment 3y ago · link · parent
Scaling with changing dpi is the easiest thing in the world. Anyone who has written a program with some kind of 'zoom' feature (be it a game, image editor, image viewer, etc) knows how easy it is.