Author |
Message |
Topic: CCS RS485.c Lib Doesn't work. Proteus + source. |
ivrj
Replies: 7
Views: 18845
|
Forum: General CCS C Discussion Posted: Sat Nov 28, 2009 2:57 pm Subject: CCS RS485.c Lib Doesn't work. Proteus + source. |
I do agree with PCM Programmer. Start with a working program and then make small changes so you know the latest change is the one to break things.
Just a few remarks on your code: RS485send(PCg ... |
Topic: CCS RS485.c Lib Doesn't work. Proteus + source. |
ivrj
Replies: 7
Views: 18845
|
Forum: General CCS C Discussion Posted: Thu Nov 26, 2009 5:10 am Subject: CCS RS485.c Lib Doesn't work. Proteus + source. |
There are probably several reasons why no one is helping you.
1. You didn't give a direct download link for your file. It goes to an
HTML page. Who knows what is on that page ? It could ... |
Topic: CCS RS485.c Lib Doesn't work. Proteus + source. |
ivrj
Replies: 7
Views: 18845
|
Forum: General CCS C Discussion Posted: Wed Nov 25, 2009 8:41 am Subject: CCS RS485.c Lib Doesn't work. Proteus + source. |
Anybody know what I did wrong? |
Topic: CCS RS485.c Lib Doesn't work. Proteus + source. |
ivrj
Replies: 7
Views: 18845
|
Forum: General CCS C Discussion Posted: Fri Nov 20, 2009 1:16 pm Subject: CCS RS485.c Lib Doesn't work. Proteus + source. |
Hello! I tried to use the library of ccs to make communication between two PICs, but did not work.
I need the message to go in both directions, to do a sensor network.
I am enclosing the file us ... |
Topic: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working. |
ivrj
Replies: 35
Views: 77713
|
Forum: General CCS C Discussion Posted: Thu Oct 15, 2009 8:19 am Subject: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working. |
Error found!
I crossed the can-l can-h lines!
now it´s working fine!
Thank u PCM!!!! |
Topic: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working. |
ivrj
Replies: 35
Views: 77713
|
Forum: General CCS C Discussion Posted: Thu Oct 15, 2009 8:09 am Subject: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working. |
It worked for me. I changed the software in the 18F2580 test code,
http://www.ccsinfo.com/forum/viewtopic.php?t=40202&start=22
so that the #use delay() was 4 MHz instead of 20 MHz.
Check you ... |
Topic: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working. |
ivrj
Replies: 35
Views: 77713
|
Forum: General CCS C Discussion Posted: Wed Oct 14, 2009 4:29 pm Subject: Can-bus, 18F2580+MCP2551. Loopback ok, real can not working. |
I am also having the same problem.
My board #1 stops on:
while(!can_kbhit());
I've modified the source to be easy to debug:
#include <18F2580.h>
#fuses HS, NOPROTECT, PUT, BROWNOU ... |
|