I'M NEW TO PROGRAMMING PICS AND HAVE RECENTLY PURCHASED DONTRONICS PROGRAMMER AND SIMSTICKS WITH 16F84,RUN THE TEST PROGRAMS,TRIED THE FREE BS1/4 BASIC INTERPRETER (UNFORTUNATLEY THE "POT" FUNCTION DOESN'T WORK) AND NOW I WOULD LIKE TO TRY SOMETHING PRACTICAL.. AS A MEDICAL ENGINEER (X-RAY TECH) A MEASUREMENT OF DISTANCE IS REQUIRED BETWEEN PATIENT AND X-RAY FOCAL SPOT OF 1MTR TO 2 OR 3 MTRS. GRADUATED IN CM. I WOULD LIKE TO DISPLAY THIS FOR THE OPERATOR ON 3 - 7 SEGMENT DISPLAYS - WITHOUT THE UNITS ROLLING AS IT DOES WITH ANALOGUE DISPLAYS.
 (I HAVE 3 -  7 SEG DISP. ON A  BOARD) . THE DISTANCE WILL BE SENSED BY A TEN TURN 10K OHM POT. WOULD ANYONE KNOW HOW TO INTERFACE THESE,POSSIBLY A CIRCUIT AND/OR  SOME CODE.
ALSO, SHOULD I PURCHASE A BASIC COMPILER TO BEGIN WITH, A STAMP, OR JUST PERSIST AND LEARN MPASM. I WOULD APPRECIATE ANY IDEAS ON HOW GO ABOUT STARTING TO WRITE PROGRAMS,
REGARDS, DALE BURGDORF.