Skip to content

Commit

Permalink
turn on LED-PWM pin to enable backlight for boards with R29 populated.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonokip committed Oct 31, 2016
1 parent d86bd22 commit 1c767ff
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions VirtualSerialDigitizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ int main(void)

//Eval Prototype Sharp Reset Pin
//DDRB &= ~RESET_PIN; //Set Input
PORTB |= RESET_PIN; //Set High
DDRB |= RESET_PIN; //Set Output
//PORTB |= RESET_PIN; //Set High
//DDRB |= RESET_PIN; //Set Output

//Drude Sharp LCD Reset PIN
PORTF |= RESETN_PIN; //Set High
Expand All @@ -167,6 +167,14 @@ int main(void)
//Toshiba Reset Pin - Active Low
PORTC |= (_BV(PC7)); //Set high (input pullup)

//LCD-CABC
//PORTF |= (_BV(PF7)); //Set high (defaults to input pullup)
//DDRF &= ~(_BV(PF7)); //Set output
//PORTF |= (_BV(PF7)); //Set low

//LED-PWM
//DDRD &= ~(_BV(PD6)); //Set output
PORTD |= (_BV(PD6)); //Set high (defaults to input pullup)


RingBuffer_InitBuffer(&FromHost_Buffer, FromHost_Buffer_Data, sizeof(FromHost_Buffer_Data));
Expand Down

0 comments on commit 1c767ff

Please sign in to comment.