Al, I appreciate the correction. I understood what you where trying to do. I too am more familiar with VB than PBP.
This definitely simplifies the overall code.
Thank you very much.
Chris
Type: Posts; User: viperhex; Keyword(s):
Al, I appreciate the correction. I understood what you where trying to do. I too am more familiar with VB than PBP.
This definitely simplifies the overall code.
Thank you very much.
Chris
This is perfect.... I get more out of these discussions then any one book I own.
Thanks Al
Chris
btw
The circuit I am working on is for measuring the amount of salt in my water softener...
Thanks Norm. I think that will do the trick....
Thank you for the reply Henrik.
Your reply was most helpful.
Is there a way to get around truncation (round values to nearest integer) in PB PRO?
I am using LED's rather than a display as...
I am new to PICBasic and having an issue with the following portion of my code:
MAXVAL VAR Word
DIST VAR Word
MAXVAL = 32
DIST = 1 to 30
Percent=(DIST/MAXVAL)*100