2.1 The while() Loop and Variable Values
To make the LEDs on Port A change, the variable portValue
is first assigned a
value of 0xF0
(LEDs are on) and then a value of 0x00
(LEDs are on). To perform the loop, while(1) { }
was used.