const int pinCLK = 8; void setup() { // set TDA8702 to transparent mode (CLK = LOW) pinMode(pinCLK, OUTPUT); digitalWrite(pinCLK, LOW); pinMode(7, OUTPUT); pinMode(6, OUTPUT); // FIX HEISENBUG, FUCKYEAH Serial.begin(9600); } int count = 0; void loop() { digitalWrite(7, (count & 0b10) >> 1); digitalWrite(6, (count & 0b01) >> 0); delay(100); count++; }