Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time).
0 Members and 1 Guest are viewing this topic.
How aboutfor(int value = 0; value <=7; value++){digitalWrite(muxS1, bitRead(value, 0));digitalWrite(muxS2, bitRead(value, 1));digitalWrite(muxS3, bitRead(value, 2));}That will set the three pins to the state described by the lower three bits in the value number. With the loop, it will cycle through all the outputs of your demux.
Started by blackheart Electronics
Started by blackbeard Electronics
Started by GalacticNerd Software
Started by Roaz Misc