swapped red and green led
This commit is contained in:
parent
2dc328bd9f
commit
e01ee4fe57
1 changed files with 4 additions and 4 deletions
|
@ -62,10 +62,10 @@
|
|||
#define USBASP_ISP_SCK_1500 12 /* 1.5 MHz */
|
||||
|
||||
/* macros for gpio functions */
|
||||
#define ledRedOn() PORTC &= ~(1 << PC1)
|
||||
#define ledRedOff() PORTC |= (1 << PC1)
|
||||
#define ledGreenOn() PORTC &= ~(1 << PC0)
|
||||
#define ledGreenOff() PORTC |= (1 << PC0)
|
||||
#define ledRedOn() PORTC &= ~(1 << PC0)
|
||||
#define ledRedOff() PORTC |= (1 << PC0)
|
||||
#define ledGreenOn() PORTC &= ~(1 << PC1)
|
||||
#define ledGreenOff() PORTC |= (1 << PC1)
|
||||
|
||||
#define SLOW_SCK_PORT PORTC
|
||||
#define SLOW_SCK_PIN PINC
|
||||
|
|
Loading…
Add table
Reference in a new issue