Making a basic stamp a slave

Hello

I building an automatous rover and i have ran out of I/O pins but i have lots of memory left. what i want to do is use a slave microcontroller. i’m using a basic atom28 for my rovers controller and i have a basic stamp that i want to use as a slave. all i need the stamp to do is control a home made IR sensor thats like the IR Proximity Detector Sensor that lynxmotion sells just it has 5 IR detectors and a lot more IR leds.

so is it possible to interface a basic atom28 to a basic stamp
if its possible how would i do it and would i use the serin and serout commands.

if not is it possible to interface two basic atom28s together and if so how would i do that

  1. thanks for the help
    Curtis

http://i243.photobucket.com/albums/ff305/sitruc2_3c/untitled-1.jpg

Hello I got it to work using this pic from the BS2 Manual and these codes.
This is for the receiver

[code]serdata var word

main
serin 15\14, i9600 ,[serdata]
serout s_out,I9600,[serdata]
goto main
[/code]
and this is for the transmitter

[code]’ {$STAMP BS2}

main
SEROUT 15\14,84,“Hello World”]
PAUSE 500
SEROUT 15\14,84,[CR,0]
GOTO main

[/code]
I will post more info on the sensor i’m building later 8)