Better to use "High" or "Low" than "On" or "Off"

This commit is contained in:
William Miceli
2021-05-18 11:09:05 -04:00
parent 57c10b6c33
commit 62ba149b81

View File

@@ -13,7 +13,7 @@ int main(void) {
P8DIR |= LEDG | LEDR | LEDY0 | LEDY1; // Set all four main LEDs as output
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