Darrel, thank you very much!!!
I have updated my Schematic, could you please confirm that I understand it correctly (see attachment)?
Koossa
Darrel, thank you very much!!!
I have updated my Schematic, could you please confirm that I understand it correctly (see attachment)?
Koossa
I have updated everything now, but when I start it up it return the following, no matter if the Slave is running or not.
<b>
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
WAITING FOR REPLY..
</b>
Could this be a wiring problem or maybe something wrong in my code?
Thx
Koossa
You might try removing the handshaking part.
Have the slave continuously transmit to the master, and see if you're getting anything.
If not, then yeah, it could be a wiring problem.
Or, 10-20 other things.
<br>
DT
Hi Koossa,
Background Question:
How much distance between master and slave? I am thinking maybe baud rate is too high due to line capacitance, I just had that problem with an ethernet connection, couldn't use 100 had to tell computer to use 10mbs.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Joe, the distance between my Master and slave is only about 1.5 meters.
<hr>
Darrel
When I remove the handshacking it is working!!
<b>
WAITING FOR REPLY..
REC:1
WAITING FOR REPLY..
REC:1
WAITING FOR REPLY..
REC:1
WAITING FOR REPLY..
REC:1
WAITING FOR REPLY..
REC:1
WAITING FOR REPLY..
REC:1
WAITING FOR REPLY..
REC:1
</b>
Do I need to play arround with "pause"?
See Posts #2 & #5.
Failing that, post the program as it sits now...
Bookmarks