Author |
Message |
Topic: Problems with code written in version 2? (v4 vs. v2) |
achilles03
Replies: 7
Views: 6779
|
Forum: General CCS C Discussion Posted: Tue May 04, 2010 3:11 pm Subject: Problems with code written in version 2? (v4 vs. v2) |
I only changed the "#ORG 0x04, 0x45" to "#int_timer0".
But that's not what I suggested. I gave you a complete routine to
substitute for their interrupt routine.
By only a ... |
Topic: Problems with code written in version 2? (v4 vs. v2) |
achilles03
Replies: 7
Views: 6779
|
Forum: General CCS C Discussion Posted: Mon May 03, 2010 9:35 pm Subject: Problems with code written in version 2? (v4 vs. v2) |
Scratch my last post. The program now makes it further! ...but still hangs, only after generating a tone.
I only changed the "#ORG 0x04, 0x45" to "#int_timer0". When it star ... |
Topic: Problems with code written in version 2? (v4 vs. v2) |
achilles03
Replies: 7
Views: 6779
|
Forum: General CCS C Discussion Posted: Mon May 03, 2010 8:36 pm Subject: Problems with code written in version 2? (v4 vs. v2) |
Hm, thanks for the suggestion. That didn't seem to work... it still hanging right before it transmits.
As a quick overview, the program is a packet radio transmitter (AX.25), which uses an interru ... |
Topic: Problems with code written in version 2? (v4 vs. v2) |
achilles03
Replies: 7
Views: 6779
|
Forum: General CCS C Discussion Posted: Mon May 03, 2010 12:44 pm Subject: Problems with code written in version 2? (v4 vs. v2) |
Post a link to the program if possible.
I picked out the first website that offered free online space (since apparently I can't upload files to this forum):
http://www.4shared.com/file/jZfhn9wp/so ... |
Topic: Problems with code written in version 2? (v4 vs. v2) |
achilles03
Replies: 7
Views: 6779
|
Forum: General CCS C Discussion Posted: Mon May 03, 2010 12:19 pm Subject: Problems with code written in version 2? (v4 vs. v2) |
I've run across a program originally written for version 2 of the CCS compiler. It's almost exactly what I want, only I would like to make a few minor changes.
When I compile the original program ... |
Topic: Compiler problems? |
achilles03
Replies: 2
Views: 5446
|
Forum: General CCS C Discussion Posted: Fri Apr 23, 2010 10:02 pm Subject: Compiler problems? |
What's the old version, and what's the new version of the compiler ?
Make sure you don't have a local copy of the old 16F628A.h file in your
project directory. The newer compiler version almost ... |
Topic: Compiler problems? |
achilles03
Replies: 2
Views: 5446
|
Forum: General CCS C Discussion Posted: Fri Apr 23, 2010 9:00 pm Subject: Compiler problems? |
I'm completely new to programming PICs in C (used others), but am working on modifying some existing code that I'm interested in using for a project
When I program the PIC with the original hex fil ... |
|