Better to use "High" or "Low" than "On" or "Off"
This commit is contained in:
@@ -13,7 +13,7 @@ int main(void) {
|
|||||||
|
|
||||||
P8DIR |= LEDG | LEDR | LEDY0 | LEDY1; // Set all four main LEDs as output
|
P8DIR |= LEDG | LEDR | LEDY0 | LEDY1; // Set all four main LEDs as output
|
||||||
P8OUT |= LEDG; // Turn on permanently the green LED
|
P8OUT |= LEDG; // Turn on permanently the green LED
|
||||||
P8OUT &= ~(LEDY0 | LEDY1); // Initially set both yellow LEDs off
|
P8OUT &= ~(LEDY0 | LEDY1); // Initially set both yellow LEDs to Low
|
||||||
|
|
||||||
_EINT(); //enable global interrupts
|
_EINT(); //enable global interrupts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user