Thanks a lot Bob!
Type: Posts; User: Rogerio; Keyword(s):
Thanks a lot Bob!
I can't find a definitive answer to this, is this legal?
IF result = 15 OR result = 30 OR result = 45 OR result = 60 THEN
xxx
xxx
ENDIF
How many conditions can you use in an IF THEN ?
...
Does the 16F876A have an ANSEL or ANSELH register? Some devices use different registers to acomplish similar tasks.
Yes, it works just fine! I definetly have to sleep, did not notice you had to use LONG before the variable name, it's right there on the manual, sorry. As always, when something is not working it...
Hello Bruce,
Wrote a short test code, here are the different tests I made:
1.- LONG variables
Ok, I am trying to store LONG variables. Tried using BYTE variables and it works. It's supposed to work for LONG's also.
Found something at http://www.melabs.com/support/pbpissues.htm and tried it:...
Tried to comiple and test but it won't compile while error shows up.
Any ideas?
Thanks!
Rogerio
Hi. I am trying to use WRITE to write to EEPROM on a 18F4620 using PBPL and MPASM but I get the following:
Error[113] c:\pbp\pbppi18l.lib 723 : Symbol not previously defined (WRITE)
I checked...
I was using Long variables but trying to display with #Variable, thought it was the same as DEC. Working great now.
Thanks again Darrel!
Rogerio
Thanks Darrel! That was a fast change and it's working OK.
Now I need to find out how to display a number bigger than a Word using LCDOUT, any ideas?
Thanks!
Rogerio
Hello. I have a code that uses DIV 32, because of code lenght I am switching to PIC18F4620, and since I have the extra space I want to add more functions that could be more easily done using PBPL....
Ok, so I had forgoten to clear Anselh register, ha.
Working great now,
Thanks for the code malcolm!
Rogerio
Hi Malcolm.
I'm trying this code but can't make it work. It only displays:
Time= 00:00:00
Date= 00:00:00
but does not show the date and time that was set or advance.
Tried grounding...