Hey guys, don't mean to be a bother with stupid questions, but I'm just getting started in PB and I want to get some code working.

I'm working with a 16F628A running 20 mHz. I'm working on building a simple PWM motor controller that links the position of a pot to the HPWM duty cycle (if anybody has any code already written up for something like this, a link would be awesome).

Anyway (this is probably the 1000th time or so that you've heard this), I'm looking for the best way to read the pot. I'm mainly looking at using the POT command, but I'm unsure what to use for the SCALE value. Is there a chart of some sort comparing pot values to scale values?

Any help would be greatly appreciated. Thanks!