PCF8574: Reading a LOW Pin Must Not Turn an Input Into a LOW Output
Read a button while switching an LED with a PCF8574N. Keep sampled pin levels separate from commanded output bits, and recover explicitly after uncertain I2C transfers.
Unravel the Mystery of Electronics
Read a button while switching an LED with a PCF8574N. Keep sampled pin levels separate from commanded output bits, and recover explicitly after uncertain I2C transfers.
Build a two-channel TLC5916IN LED experiment. Measure each current and sink headroom, then reduce the LED supply without confusing commands with regulation.
Build a three-LED binary die on ATtiny85. Test a full LFSR cycle, remove modulo bias by rejection and show why an equal histogram still cannot prove unpredictable rolls.
Build a twelve-stage divider, predict slow LED outputs and see why a ripple counter can show intermediate words. Includes a complete Pico adapter and event-order model.
Build a four-bit magnitude comparator with correct cascade inputs. Test bit significance, equality and unsigned ordering with three separate LED outputs.
Use an advisory local lock before claiming a Pi LED. Test two-process exclusion, normal cleanup, forced death and why deleting a lock file can break ownership.
Build a low-current two-digit display and test blank-before-change scanning, coherent number updates and a late-loop stop without borrowing a large pulse-current rating.
Run a cancellable five-second light beside a heartbeat. Explore modular deadlines, settled presses, missed-edge coalescing and an explicit late-loop stop.
Build a three-data-bit even-parity checker with an exact SN74HC86N. Inject one- and two-wire errors, decode the syndrome and separate static logic from glitches.
Build a NAND memory latch with exact SN74HC00N pins, then compare valid storage, both-low inputs, release order and unspecified power-up.