Re: Create a label which point to an instruction

Originally Posted by
med2007
How do I create a short cut to an instruction in PBP such as
H9 means or points to instruction like HIGH PORTB.0 ?
So instead of writing HIGH PORTB.0: PAUSE 10 : LOW PORTB.0
I can write H9: PAUSE 10: H9 ??
Cheers
Michael
your idea is somewhat complicated ... till PBP already does it !!!
PULSOUT PortB.0, 100 ' 100 @ 4Mhz or 500 @ 20Mhz
or
H9 var PORTB.0 ' in the header
...
PULSOUT H9,100 ' 100 @ 4Mhz or 500 @ 20Mhz
soo simple, when opening the Holy manual 
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks