Introduction - If you have any usage issues, please Google them yourself
// This program provides simple DC motor control using the PCA 8-bit PWM Mode.
// The ADC is used to read the potentiometer voltage on P0.6. The ADC uses
// polled mode and 64 sample averaging. The 8-bit PWM is configured to operate
// at 24 kHz. The PWM high-time varies from a minimum of 160 ns to a maximum of
// 100 .