Updated display code to latch a single digit per task iteration.
I2C pinout changed to P8 and P9.
Commenting out display code that causes hang ups if I2C bus not connected.
Switch machine state now checks for enum types instead of integers.
Corrected default parameter left out in one of the task definitions.