i tried something very much along those lines yesterday night using P2-7 and it looks promising.
(copied and adapted from the synchronous-gpio example.. so i'm glad i got that right, hah)
didn't have a mosfet on hand to try the extra 12v switching, so for now i had to run the sketch manually and print a message-to-self to plug in the adapter, giving myself 5 seconds to do so
bit stupid, but it seemed to work - now need to implement a switching system and try running at boot..
giuliomoro it's not too hard, really
true. just another hurdle to take. just meant to say that i did come across a lot of new info for this project, what with the OLED, combining lists to symbols and using arrays in Pd, and now this.. but all very useful for the future!
and it demonstrates yet again how helpful this forum is.
still, i'm quite glad i'm not pushing up to the deadline yet all of this learning took me longer than anticipated, shall we say.