Thanks, that fixed the problem.

Quote Originally Posted by skimask View Post
You've got GPIO.0 set as a digital pin, and an output, and set logic low, so it's dragging down the TPS line.
Try configuring the pin correctly for what you are trying to do...
And since the ADC on the 10F222 is an 8bit result, there's no need for throttle to be a word.
BUT...since you're also DEFINE'ing ADC_xxxxx, this might be overriding everything you've just set up wrong.