in the case where i receive the zero's i don't wait for the "k" (SerIn2 S_in,396,[dat]) I just wait for anything to come in and thats a zero (witch i didn't send!). also tried to send some data AFTER the "k" but it still doesn't get to the blink code...
Can someone just give me a working code and the right winpic settings to send data from one pic16f688 @ 20MHz to an other through portc.0 on both pics? it should blink a led (@ portc.3) on both pic's one after sending and one after receiving data. so they blink synchrome.
example:
pic1: sending data (portc.0)--> blink (portc.3)--> pause --> loop
pic2: waiting for right data (portc.0)--> receiving data --> blink (portc.3) --> loop
ok, I've been patient enough but time is running out so:
[whine]
I REALY need this code working. I use this code in a huge high-school project (i'm building a local positioning system) and i'm nominated for the "best project of the year" and i have to present my project for 1600 students. even without this code working they say my team will win this competition by far BUT I just want the whole thing working so PLEASE HELP ME. (I have no teachers or anyone i know that have any knowledge about this subject to help me, so that's why i came here)
[/whine]
sorry for my Engrish but i'm not a native (i'm dutch)
Bookmarks