Have no access to PBP right now, so construction like this:
FOR A=1 TO 200
CMCON1=A
NEXT
will work?
Have no access to PBP right now, so construction like this:
FOR A=1 TO 200
CMCON1=A
NEXT
will work?
Yes, it will "work" in the sense of assigning the values 1 thru 200 to CMCON1, one after the other.
If that's actually what you want is another matter.
And back to the topic of HPWM. It's easy enough to control the CCP module directly without using the HPWM command, plenty of examples on that floating around here. And, as have been pointed out, any variable you declare in your PBP program can be accessed from assembly by preceding it with an underscore - subject to bank switching etc.
/Henrik.
Bookmarks