by jacquesm · 10mo ago · 0 comments
If at all possible: add resistors and capacitors. With those two added you can make many more interesting circuits (Schmitt triggers, a-stable stuff).
Would probably be slower but doable, fun mod for the future!
Your current algorithm would need to be able to accept a wider range of values but it seems like it would work from a math standpoint.