bsp40 aux i/o labels
Archiver
Posts: 46,084
What is the proper way of labeling the aux i/o.
Using pbasic 2.5 ,i would normally do this:
test pin 12 . This would make pin 12 of the main i/o
called test.
What is the proper way of labeling the aux i/o?
Using pbasic 2.5 ,i would normally do this:
test pin 12 . This would make pin 12 of the main i/o
called test.
What is the proper way of labeling the aux i/o?
Comments
You have to declare whether you want to use the auxio or mainio, like this:
main:
mainio ' Not required for the first iteration, as mainio is default
high 12
auxio
high 12
pause 100
mainio
low 12
auxio
low 12
pause 100
goto main
This code would blink an LED on both p12 and x12.
Jonathan
Original Message
From: "Brian" <brian3070@y...>
To: <basicstamps@yahoogroups.com>
Sent: Sunday, November 16, 2003 8:39 AM
Subject: [noparse][[/noparse]basicstamps] bsp40 aux i/o labels
> What is the proper way of labeling the aux i/o.
> Using pbasic 2.5 ,i would normally do this:
> test pin 12 . This would make pin 12 of the main i/o
> called test.
> What is the proper way of labeling the aux i/o?
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
they're on the AUX bank; otherwise, the numbering is the same.
MLed PIN 12
ALed PIN 12
Main:
MAINIO
HIGH MLed ' light led on mainio bank
PAUSE 500
AUXIO
HIGH ALed ' light led on auxio bank
END
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Brian [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=hNkFvypsXKywOAhse9sekqAPSM2V5GZsQU_jRT9jQOAdQP4X4Zkttywbuu2gLbUcMPgMoeHTGbEqHyTqcw]brian3070@y...[/url
Sent: Sunday, November 16, 2003 10:40 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] bsp40 aux i/o labels
What is the proper way of labeling the aux i/o.
Using pbasic 2.5 ,i would normally do this:
test pin 12 . This would make pin 12 of the main i/o
called test.
What is the proper way of labeling the aux i/o?
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....