the official example of Maple mini pwm output and ADC input, note: BUG on official page