<d1b2>
<rwhitby> But I need to test out the level converters and analog muxes to see if they are genuine or not (they are unobtanium so came from a random AliExpress shop). Should be able to apply voltages on one side and see them come out the other without damaging anything.
<d1b2>
<rwhitby> So to test out these converters, what's the best way to set random pins on port A and B to various directions and levels? Is there an applet already that just provides command line access to wiggling pins?
<d1b2>
<rwhitby> Or do I need to hack on the internal.selftest applet?
<whitequark>
probably the latter is easiest
<d1b2>
<rwhitby> I might as well make it general purpose and contribute it - what would be a good applet name for it?
<d1b2>
<Attie> I was conjuring a need for arbitrary CLI pin wiggling earlier today...
<d1b2>
<rwhitby> well I'm about to sleep, so maybe the applet pixies will have one waiting for me to use tomorrow 😉
<whitequark>
I'm not so keen on accumulating lots of general purpose applets each of which is actually written for some special purpose
<whitequark>
for now probably just write it however is convenient for you?
<d1b2>
<rwhitby> no worries, Attie and I can collaborate on a fork
<d1b2>
<rwhitby> I was thinking just having command line args for dir_a, dir_b, oe_a, oe_b, data_a, data_b.
<d1b2>
<rwhitby> could even just make it another test mode which allows you to manually set or read pins
<d1b2>
<rwhitby> (in the existing selftest applet)
<whitequark>
ah
<whitequark>
yeah, a mode that spawns a REPL would be useful
<d1b2>
<icb> An applet that lets you just bit bang from Python does sound useful
<whitequark>
it's not that useful because of USB latencies