Searching \ for '[SX:] Equivalent to PIC ' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx
Search entire site for: 'Equivalent to PIC'.

No exact or substring matches. trying for part
PICList Thread
'[SX:] Equivalent to PIC #DEFINE?'
2003\09\21@212708 by Josh Koffman

flavicon
face
I'm using the SXKey for SX development. When I use MPLAB for PIC
development, I can do something like:
#DEFINE LED1 PORTA,0
Then just
bsf LED1

Is there something equivalent for the SX? There doesn't seem to be a
#DEFINE.

Thanks,

Josh
--
A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.
       -Douglas Adams

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2003\09\21@215444 by Jinx

face picon face
> I'm using the SXKey for SX development. When I use MPLAB for PIC
> development, I can do something like:
> #DEFINE LED1 PORTA,0
> Then just
> bsf LED1
>
> Is there something equivalent for the SX? There doesn't seem to be a
> #DEFINE.

        led1   equ  ra.0

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2003\09\21@231654 by Josh Koffman

flavicon
face
Oh Joe, how to thank you? :) I actually tried this...but like the moron
that I am, I used semi-PIC syntax - RA,0

You've saved the day yet again!

Josh
--
A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.
       -Douglas Adams

Jinx wrote:
> > Is there something equivalent for the SX? There doesn't seem to be a
> > #DEFINE.
>
>          led1   equ  ra.0

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2003\09\21@232316 by Jinx

face picon face
BTW, watch out for r-m-w. The PICs never caught me but
jeepers the high-speed SX led me around by the nose for
a couple of days. Until I admitted it must be the obvious ;-(
Lesson learned

http://home.clear.net.nz/pages/joecolquitt/sx_pins2.html

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...