The following information is for the EMANT380
Learn:
The difference between this program and the previous one is that the Digital Port is written portwise ie 8 bits at a time.
The output bits are determined by the count value
8 – 0000 0111 all LEDs are turned off
7 – 0000 0110 only Green LED is turned on
0 – 0000 0000 all LEDs are turned on