neingeist
/
arduinisten
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

27 lines
429 B
Plaintext

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++;
}