Update project.c

Updated port initialization to output PWM on all LED channels, and fixed ATD conversion.