Hi amindzo,
look at this link, I bought several of this authors books, and would again.
http://www.lvr.com/serport.htm#my_example_code
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.
Hi,my friend suggest that you use a multi cable to connect one port to another port of main micro(8 wire,for example PORTB of micro 1 to PORTC of main micro) and use PEEK and POKE instruction. you put one byte on a port and read it from main micro and you should make a time program to read data on time.
but it is not a good method. it's need a lot of wire and the distance can effect on the voltage,current and also we have noise.
what about using serin and serout instructions and a shield cable?
That'll work great...
http://en.wikipedia.org/wiki/EIA-485
if i want to use serin and serout instructions, can i connect(for example) PORTB.0 of micro 1 to PORTC.1 of main micro with wire directly?(with 10 to 20 meter distance)
Bookmarks