summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2013-05-15 15:32:34 +0300
committerYuval Adam <yuv.adm@gmail.com>2013-05-15 15:32:34 +0300
commitf9271756add719a30144ba60753cbae1e11ecd5f (patch)
tree99309810a6a3e20862a56a0480d53fe38fe63d33
parent70d551ce7e8bc33d3fe59be05132a9c32f945eec (diff)
Revert "A vga version that should show color"
This reverts commit 70d551ce7e8bc33d3fe59be05132a9c32f945eec.
-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;