pin assignment
the_0utsider1
Posts: 13
Trivial question for all in the forum.
I just got a BASIC Stamp 2p 40-Pin chip and downloaded the program 2.5.2.
The diagram shows pins x0-x19 and p0-p19
All the samples (few at that) of code show "PIN1 con 1" then " INPUT PIN1"
with my chip, do i do this from 0-39 win p0 being 0 or else, how do i define the x pins from the p pins?
TIA,
-Lee
I just got a BASIC Stamp 2p 40-Pin chip and downloaded the program 2.5.2.
The diagram shows pins x0-x19 and p0-p19
All the samples (few at that) of code show "PIN1 con 1" then " INPUT PIN1"
with my chip, do i do this from 0-39 win p0 being 0 or else, how do i define the x pins from the p pins?
TIA,
-Lee
Comments
There's only 16 I/O pins in a set ... x0-x15 and p0-p15.