Update 'hifilogix.ino'

master
Jay 2 years ago
parent cbb95dba3c
commit aecc80036c

@ -56,9 +56,10 @@ byte ei = 0;
IRrecv remote(IRin);
decode_results ircode;
char txt[8];
void DontCrossTheStreams(byte op, byte x, byte i) // There's something very important I forgot to tell you.
{ // Don't cross the streams.
// There's something very important I forgot to tell you.
void DontCrossTheStreams(byte op, byte x, byte i) {
strcpy_P(txt, (char*)pgm_read_word(&(inputs[i]))); // Why?
digitalWrite(latchPin, LOW); // It would be bad.
shiftOut(dataPin, clockPin, LSBFIRST, op); // What do you mean, bad?
@ -67,8 +68,8 @@ void DontCrossTheStreams(byte op, byte x, byte i) // There's something
u8g2.drawStr(x,30,txt); // and every molecule in
u8g2.sendBuffer(); // your body exploding
eop = op; ex = x; ei = i; // at the speed of light.
// Total protonic reversal. // That's bad.
} // Important safety tip, thanks Egon.
}// Total protonic reversal. // That's bad.
// Important safety tip, thanks Egon.

Loading…
Cancel
Save