]> git.defcon.no Git - avrfbosd/blobdiff - fbosd.c
Changed hardware configuration. ATmega not supplies CLKO-clock to ATtiny, freeing...
[avrfbosd] / fbosd.c
diff --git a/fbosd.c b/fbosd.c
index 8299540af749acda36724270487026b52052b1d4..fb7ec8332f1104324aeb32f675afe696a07b55b6 100644 (file)
--- a/fbosd.c
+++ b/fbosd.c
@@ -44,7 +44,7 @@ void blank_lines ( void )
 {
        if ( line < FIRST_LINE )
        {
-               PORTB ^= 0x001;
+               PORTB ^= 0x004;
                return;
        }
        line_handler = active_lines;
@@ -79,8 +79,10 @@ ISR (INT0_vect)
 int main(void)
 {
        
+       // Note: PB0 is used as CLKO outputting 20MHz clock to ATtiny
+
        // Using some pins on PORTB for debug-indicator-LEDs
-       DDRB = (1<< PB0)|(1 << PB1)|(1 << PB2);
+       DDRB = (1 << PB1)|(1 << PB2);
        PORTB = 0x0;
 
        // Using pin 7 on PD to clock out pixels \o/