Browse Source

some other improvements

feature/2015
Hans-Gert Dahmen 13 years ago
parent
commit
37601f1839
  1. 4
      borg_hw/borg_hw_borg16_hgmod.c
  2. 2
      borg_hw/config_borg16_hgmod.in

4
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 //this int runs with multiples of half the frequency of timer 1,
// 12.5 kHz //meaning that new row data gets laoded every 2n pwm periods of the tlc
ISR(TIMER0_COMP_vect ) { ISR(TIMER0_COMP_vect ) {
uint8_t i, x; uint8_t i, x;

2
borg_hw/config_borg16_hgmod.in

@ -9,7 +9,7 @@ choice 'TLC5940 Control Port' \
PORTB PORTB \ PORTB PORTB \
PORTC PORTC \ PORTC PORTC \
PORTD PORTD" \ PORTD PORTD" \
'PORTC' COLPORT 'PORTC' TLCPORT
choice 'port for row shiftregisters' \ choice 'port for row shiftregisters' \
"PORTA PORTA \ "PORTA PORTA \

Loading…
Cancel
Save