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

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