summaryrefslogtreecommitdiff
path: root/vga-sync/src/sketch.ino
diff options
context:
space:
mode:
Diffstat (limited to 'vga-sync/src/sketch.ino')
-rw-r--r--vga-sync/src/sketch.ino2
1 files changed, 0 insertions, 2 deletions
diff --git a/vga-sync/src/sketch.ino b/vga-sync/src/sketch.ino
index 438508d..9bfafa0 100644
--- a/vga-sync/src/sketch.ino
+++ b/vga-sync/src/sketch.ino
@@ -26,11 +26,9 @@ volatile unsigned int linecount;
void setup()
{
//Serial.begin(9600); // set up Serial library at 9600 bps
- DDRB |= B00000111;
DDRD |= B11100000; // it sets pins 7, 6 and 5 as output without changing the value of pins 0 & 1, which are RX & TX
// 76543210 <- pin translation
- PORTB |= B00000111;
PORTD |= B11000000; // sets pins 7 (hSync) and 6 (vSync) HIGH
// 76543210;