From aecc80036ce0dcec0289141f9b57aafa447f677c Mon Sep 17 00:00:00 2001 From: Jay Moore/NQ4T Date: Mon, 12 Sep 2022 18:59:51 +0000 Subject: [PATCH] Update 'hifilogix.ino' --- hifilogix.ino | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hifilogix.ino b/hifilogix.ino index 29b1488..b809a49 100644 --- a/hifilogix.ino +++ b/hifilogix.ino @@ -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.