I/O - From Define to code ... must be easy
Oki, so here's the question assuming the following way to define Aliases to I/O
Code:
DEFINE LowBeerLevel PORTB,1
OR
Code:
#DEFINE LowBeerLevel PORTB,1
On ASM level.
It's still easy to use them later with MOVE?CT macro, or BSF/BCF whatever floats your boat.
What if I wanted to use it with say I2CREAD, HIGH or whatever else PBP command?
Tried few variants of EXT modifier thing.. but LOL...
Seems I'm too idiot to make it work.
I could still work on asm level... but if there's any other way, I would really like to hear them.
Thanks!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks