Author |
Message |
Topic: Error Codes <errno.h> where are they? |
rjrodrig
Replies: 2
Views: 6464
|
Forum: General CCS C Discussion Posted: Tue Jan 14, 2014 10:22 am Subject: Error Codes <errno.h> where are they? |
Well I was talking more in a generic sense. For example the canned function could look at the SPISTAT register and look at what happened there and report a a flag into a variable. That is all I am a ... |
Topic: Error Codes <errno.h> where are they? |
rjrodrig
Replies: 2
Views: 6464
|
Forum: General CCS C Discussion Posted: Mon Jan 13, 2014 3:46 pm Subject: Error Codes <errno.h> where are they? |
I am writing some code for PIC24 target, and I am interest to know whether or not spi_xfer() failed or not. Since this is a canned function something may go wrong and I want to report that. Using err ... |
Topic: Can't Program my chip PIC24FJ64GB002 |
rjrodrig
Replies: 0
Views: 29264
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Dec 27, 2013 7:11 pm Subject: Can't Program my chip PIC24FJ64GB002 |
I am using a ICD-U64 Version 3 hardware, and I generate a simple code using the wizard PIC24.
when I attempt to program the device I get this error message
"This program mode is not support ... |
Topic: Multiple Files Compilation |
rjrodrig
Replies: 1
Views: 4055
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2012 11:23 am Subject: Multiple Files Compilation |
Hello,
I have seen tons of threads on this subject and not once seems to outline a simple example.
I have a PIC and I want to separate into multiple C files and .h files all the actions.
Cont ... |
Topic: yet another RS232 post |
rjrodrig
Replies: 14
Views: 14141
|
Forum: General CCS C Discussion Posted: Thu May 13, 2010 12:27 pm Subject: Re: yet another RS232 post |
if you put this code in the interrupt and create a buffer before main()
called RX_BUFFER
#define RX_BUFFER_SIZE 20 //Store Command Chars
#define ArrayLength (RX_BUFF ... |
Topic: RS232 kbhit() functions |
rjrodrig
Replies: 2
Views: 10501
|
Forum: General CCS C Discussion Posted: Wed Sep 09, 2009 9:32 am Subject: Addendum |
I forgot to say that my PIC18F6622 external hardware is 10MHz. I use the x4 PLL HS to get it up to 40MHz. Therefore, meeting 115200 baud should not be an issue. |
Topic: RS232 kbhit() functions |
rjrodrig
Replies: 2
Views: 10501
|
Forum: General CCS C Discussion Posted: Wed Sep 09, 2009 9:29 am Subject: RS232 kbhit() functions |
I wrote a simple program to test out my communications between a Visual Basic 6.0 using MSCOMM (serial port) to communicate to the hardware I designed using a PIC18F6622 MCU.
I sent to the hardwar ... |
|