2p and PWMPAL
Archiver
Posts: 46,084
Hi All,
I am going to be using a PWMPAL with a 2p40. Do the PWM outputs have to
actually be connected to the p40? Meaning, can I bend them so that they do
not insert into the PWMPAL, then use them for other things? I could just
solder a wire onto the pin and lead it elsewhere.
Also, I haven't been able to find documentation that tells me how to address
the X pins on the p40. Where might I find this info?
Thanks,
Jonathan
www.madlabs.info
I am going to be using a PWMPAL with a 2p40. Do the PWM outputs have to
actually be connected to the p40? Meaning, can I bend them so that they do
not insert into the PWMPAL, then use them for other things? I could just
solder a wire onto the pin and lead it elsewhere.
Also, I haven't been able to find documentation that tells me how to address
the X pins on the p40. Where might I find this info?
Thanks,
Jonathan
www.madlabs.info
Comments
I am going to be using a PWMPAL with a 2p40. Do the PWM outputs have to
actually be connected to the p40? Meaning, can I bend them so that they do
not insert into the PWMPAL, then use them for other things? I could just
solder a wire onto the pin and lead it elsewhere.
Also, I haven't been able to find documentation that tells me how to address
the X pins on the p40. Where might I find this info?
Thanks,
Jonathan
www.madlabs.info
To address the x pins on the p40, use the commands
auxio
or
ioterm 1
Subsequent commands then act on sixteen x pins instead of the sixteen p pins.
high 7 ' makes x7 high
to switch back, use
mainio
or
ioterm 0
high 7 ' makes p7 high
It takes some getting used to, and you will find a lot of future bugs
will trace back to having the wrong set selected!!
I think that the only pins that need to be connected to the stamp are
the power supplies and the communications pin (p1). So you can put
the pwmpal side by side with the Stamp, or (ouch!) bend the pins.
-- Tracy
>Hi All,
>
>I am going to be using a PWMPAL with a 2p40. Do the PWM outputs have to
>actually be connected to the p40? Meaning, can I bend them so that they do
>not insert into the PWMPAL, then use them for other things? I could just
>solder a wire onto the pin and lead it elsewhere.
>Also, I haven't been able to find documentation that tells me how to address
>the X pins on the p40. Where might I find this info?
>Thanks,
>Jonathan
>www.madlabs.info
Original Message
From: "Tracy Allen" <tracy@e...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, August 21, 2003 3:46 PM
Subject: Re: [noparse][[/noparse]basicstamps] 2p and PWMPAL
> Hi Johnathan,
>
> To address the x pins on the p40, use the commands
> auxio
> or
> ioterm 1
> Subsequent commands then act on sixteen x pins instead of the sixteen p
pins.
>
> high 7 ' makes x7 high
>
> to switch back, use
> mainio
> or
> ioterm 0
>
> high 7 ' makes p7 high
>
> It takes some getting used to, and you will find a lot of future bugs
> will trace back to having the wrong set selected!!
>
> I think that the only pins that need to be connected to the stamp are
> the power supplies and the communications pin (p1). So you can put
> the pwmpal side by side with the Stamp, or (ouch!) bend the pins.
>
> -- Tracy
>
>
>
> >Hi All,
> >
> >I am going to be using a PWMPAL with a 2p40. Do the PWM outputs have to
> >actually be connected to the p40? Meaning, can I bend them so that they
do
> >not insert into the PWMPAL, then use them for other things? I could just
> >solder a wire onto the pin and lead it elsewhere.
> >Also, I haven't been able to find documentation that tells me how to
address
> >the X pins on the p40. Where might I find this info?
> >Thanks,
> >Jonathan
> >www.madlabs.info
>
> 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/
>
>
>