Data transfer between two basic stamp
Pinky
Posts: 5
Hello!
I am wondering how can the data from one basic stamp can be transferred to another basic stamp? In addition, has anyone got the GDM2004D LCD to work with the stamp? if yes, What was done to get it work? if possible, i would like to have a look at the code as well.
anyone can assist me please?
I am wondering how can the data from one basic stamp can be transferred to another basic stamp? In addition, has anyone got the GDM2004D LCD to work with the stamp? if yes, What was done to get it work? if possible, i would like to have a look at the code as well.
anyone can assist me please?
Comments
i have tried but haven't get it work till now.
In the Helpfile of the editor, there are some sample circuits along with sample code.Look under SERIN or SEROUT.
Try those and let us know how you make out.
Cheers,
Many folks have gotten both serial communication and LCD displays to work, so I'm optimistic that with a bit of information your problem can be addressed.
Cheers,
After checking my wiring, i managed to get the following code to work.
Modified code for master.bs2
Modified code for slave.bs2
Now, i want the LCD on the master stamp to display the measurement taken by the parallax ping sensor. Due to the lack of understanding of the code, i failed to modify it to do so.
Hence, i tried to connect my LCD terminal appmod together with ping sensor using the following code.But on the LCD it shows odd characters which is arrow and letter S only. I'm not very sure what is wrong with the LCD.
LCD appmod with Ping testing.bs2
Please give me some suggestions. Thank you.
Again, a schematic of what you've actually got hooked up is what will result in the fastest solution.
I didn't go through all the code in the 3 programs, but I get the impression the master is displaying information on the PC screen by sending the data serially. The slave has code for talking to the AppMod LCD in 4-bit or 8-bit parallel.
I'd suggest writing a simpler program in the master that talks to the LCD. Just write a loop that counts up and displays the number on the LCD. Then add a line of code so it prints on the PC screen also.
Step 3 would be to transfer the measured values from the slave to the master and display them.
A schematic, etc, etc, nag, nag ........