Newbie output\input question
Archiver
Posts: 46,084
I have the chip 2P40. i have the following:
output 16
MOTOR2_C VAR OUT16
and get the error undefined symbol on the second line just trying to setup an
alias.
does this error have to to with the fact one side ofthe chip is IO the other
side is AUX????
TIA.
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[noparse][[/noparse]Non-text portions of this message have been removed]
output 16
MOTOR2_C VAR OUT16
and get the error undefined symbol on the second line just trying to setup an
alias.
does this error have to to with the fact one side ofthe chip is IO the other
side is AUX????
TIA.
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
so the compiler complains.
There IS a 'pseudo-pin' 16, which refers to
the SIN/SOUT port, which is why 'output 16' doesn't
complain. I don't know the command to switch to
the 'X' ports -- anybody know it?
(Could search the Forum for 'X15')
--- In basicstamps@yahoogroups.com, "Mr. M" <the_0utsider1@y...>
wrote:
> I have the chip 2P40. i have the following:
>
> output 16
>
>
> MOTOR2_C VAR OUT16
>
> and get the error undefined symbol on the second line just trying
to setup an alias.
>
> does this error have to to with the fact one side ofthe chip is IO
the other side is AUX????
>
> TIA.
>
>
>
>
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
normal input / output control.
eg...
serin 16, etc etc
Regards
Chris
Original Message
From: "Allan Lane" <allan.lane@h...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, September 18, 2003 5:47 AM
Subject: [noparse][[/noparse]basicstamps] Re: Newbie output\input question
> There IS NO 'OUT16', they max out at 'OUT15',
> so the compiler complains.
>
> There IS a 'pseudo-pin' 16, which refers to
> the SIN/SOUT port, which is why 'output 16' doesn't
> complain. I don't know the command to switch to
> the 'X' ports -- anybody know it?
> (Could search the Forum for 'X15')
>
> --- In basicstamps@yahoogroups.com, "Mr. M" <the_0utsider1@y...>
> wrote:
> > I have the chip 2P40. i have the following:
> >
> > output 16
> >
> >
> > MOTOR2_C VAR OUT16
> >
> > and get the error undefined symbol on the second line just trying
> to setup an alias.
> >
> > does this error have to to with the fact one side ofthe chip is IO
> the other side is AUX????
> >
> > TIA.
> >
> >
> >
> >
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >
> > [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> 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/
>
>
>
I think Ianswered the question a bit fast.
You should read the help for mainio and auxio for the bs2p40 i/o access.
I think you need to switch to auxio and then access pin 0 to access physical
pin 16.
Cheers,
Chris
Original Message
From: "Allan Lane" <allan.lane@h...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, September 18, 2003 5:47 AM
Subject: [noparse][[/noparse]basicstamps] Re: Newbie output\input question
> There IS NO 'OUT16', they max out at 'OUT15',
> so the compiler complains.
>
> There IS a 'pseudo-pin' 16, which refers to
> the SIN/SOUT port, which is why 'output 16' doesn't
> complain. I don't know the command to switch to
> the 'X' ports -- anybody know it?
> (Could search the Forum for 'X15')
>
> --- In basicstamps@yahoogroups.com, "Mr. M" <the_0utsider1@y...>
> wrote:
> > I have the chip 2P40. i have the following:
> >
> > output 16
> >
> >
> > MOTOR2_C VAR OUT16
> >
> > and get the error undefined symbol on the second line just trying
> to setup an alias.
> >
> > does this error have to to with the fact one side ofthe chip is IO
> the other side is AUX????
> >
> > TIA.
> >
> >
> >
> >
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >
> > [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> 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/
>
>
>
numbers 0 to 15. To get to pin 0 on the auxilliary bank, you would do
this:
AUXIO
OUTPUT 0
To get back to the main bank ...
MAINIO
OUTPUT 0
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Mr. M [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=0airOWou1eALTbTHWf8kSCAAgSNxbhWxudLqZ4ZdXDHJbC9zIAuu4KorQPghWBRnj9D-VBCfsFgqR0HL7rsIzxGQ]the_0utsider1@y...[/url
Sent: Wednesday, September 17, 2003 3:19 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Newbie output\input question
I have the chip 2P40. i have the following:
output 16
MOTOR2_C VAR OUT16
and get the error undefined symbol on the second line just trying to
setup an alias.
does this error have to to with the fact one side ofthe chip is IO the
other side is AUX????
TIA.
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[noparse][[/noparse]Non-text portions of this message have been removed]
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....