/Spektrum-Expander/DX7-Modulator/sexpander.c |
---|
37,7 → 37,7 |
char i,Parity; // Bit-Counter and Parity Bit |
DDRA = 0b011; // PORT A INPUT: /RESET; OUTPUT: Sync+Data |
DDRD = 0b0000000; // PORT D INPUT: Switches + DX7-Sync |
PORTA = 0b111; // Pull-Up for /RESET, High for Sync+Data |
PORTA = 0b111; // Pull-Up for /RESET; High for Sync+Data |
PORTD = 0b0011111; // Pull-Up for Switches |
while(1) // Main-Loop (Sending data all the time) |