From 37601f1839035a79a8ee80d1ab380bee29ce03db Mon Sep 17 00:00:00 2001 From: Hans-Gert Dahmen Date: Wed, 21 Dec 2011 06:51:46 +0000 Subject: [PATCH] some other improvements --- borg_hw/borg_hw_borg16_hgmod.c | 4 ++-- borg_hw/config_borg16_hgmod.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/borg_hw/borg_hw_borg16_hgmod.c b/borg_hw/borg_hw_borg16_hgmod.c index 1c36317..046239c 100644 --- a/borg_hw/borg_hw_borg16_hgmod.c +++ b/borg_hw/borg_hw_borg16_hgmod.c @@ -112,8 +112,8 @@ static void rowshow(unsigned char row, unsigned char plane) { */ -// depending on the plane this interrupt triggers at 50 kHz, 31.25 kHz or -// 12.5 kHz +//this int runs with multiples of half the frequency of timer 1, +//meaning that new row data gets laoded every 2n pwm periods of the tlc ISR(TIMER0_COMP_vect ) { uint8_t i, x; diff --git a/borg_hw/config_borg16_hgmod.in b/borg_hw/config_borg16_hgmod.in index 8e06bce..10c3319 100644 --- a/borg_hw/config_borg16_hgmod.in +++ b/borg_hw/config_borg16_hgmod.in @@ -9,7 +9,7 @@ choice 'TLC5940 Control Port' \ PORTB PORTB \ PORTC PORTC \ PORTD PORTD" \ - 'PORTC' COLPORT + 'PORTC' TLCPORT choice 'port for row shiftregisters' \ "PORTA PORTA \