How to connect Basic Stamp2 to Emic2 module?
Carlos Taulet
Posts: 1
How to connect Basic Stamp2 to Emic2 module?
P0
SIN ?
P1
SOUT ?
P0
SIN ?
P1
SOUT ?
Comments
Below is sample code link from the EMIC2 page:
http://www.parallax.com/sites/default/files/downloads/30016-Emic-2-BASIC-Stamp-Example-Code.bs2
In short, you (as the programmer) choose which pins to use for the serial communication. In the case of the sample code, pins 0 and 1 were used.
Look up the SERIN and SEROUT commands for more information.