I just wonder if what is the output of the POT command, does it output a 0-255 value? I am currently working on an LDR, where I used the ReadAD command. Unfortunately, I am using PIC16F84A which has no A/D converter so I used the POT command instead.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just wonder if what is the output of the POT command, does it output a 0-255 value? I am currently working on an LDR, where I used the ReadAD command. Unfortunately, I am using PIC16F84A which has no A/D converter so I used the POT command instead.
Yes, it outputs a value between 0 and 255.
There is a help article on it at http://gcbasic.sourceforge.net/help/pot.htm