PDA

View Full Version : Pic to Pic communicaton



DiGGi
- 14th September 2006, 11:34
Hi,
i'm trying to send commands from one Pic to the other. I do not know how to do it in PICBasic. I use the PIC16F627A.

Does anybody has the same problem and know a solution?

thanks
Diggi

sayzer
- 14th September 2006, 12:58
Check this:

http://www.picbasic.co.uk/forum/search.php?searchid=151433


Regards.

mister_e
- 14th September 2006, 15:02
pssst Sayzer... your link doesn't work.

Btw, There's several way to do PIC to PIC communication. Using Serin/Serout/Debug...HPWM/Count.../Hserin/Hserout.. ett, etc.

PIC16F627 have internal USART, you should use it. You'll need to use HSERIN/HSEROUT. The forum have tons of questions/example about that.

The following may help even if it don't use HSERIN/HSEROUT but Serin/Serout
http://www.picbasic.co.uk/forum/showthread.php?t=1192

Have fun!

sayzer
- 14th September 2006, 15:51
pssst Sayzer... your link doesn't work.

......

Have fun!


OOpps!

I now see that the forum servers hold the search results with an ID number and store for a few minutes only.

Too bad.

Type "serin, serout, communication" alltogether into search box and hit return.

Plenty of ways of getting PICs to communicate.




-----------------------

DiGGi
- 14th September 2006, 16:26
hi,
now it is working, by using SerialOut/In. I had an error in electronic^^


Tanks for your help!

Diggi