Author |
Message |
Topic: memcmp problem with bidimensional const array |
firefox78
Replies: 4
Views: 6885
|
Forum: General CCS C Discussion Posted: Sun Jul 29, 2007 1:33 pm Subject: memcmp problem with bidimensional const array |
You need to copy the 'const' array elements into a temporary RAM buffer
before you use the memcmp() function. To do this, make the changes
shown below.
const unsigned char Risposte[NRichies ... |
Topic: memcmp problem with bidimensional const array |
firefox78
Replies: 4
Views: 6885
|
Forum: General CCS C Discussion Posted: Thu Jul 26, 2007 3:02 pm Subject: memcmp problem with bidimensional const array |
My compiler version is "CCS PCH C Compiler, Version 4.013, 28193", pic is PIC18F4550 and the error is on the follow line
if (memcmp(&Richieste
#include <18F4550>
#include < ... |
Topic: I/O commutation time or bug ? |
firefox78
Replies: 3
Views: 7495
|
Forum: General CCS C Discussion Posted: Sat May 07, 2005 3:40 am Subject: I/O commutation time or bug ? |
Tank you very much. I will try your solution next week.
Best regards |
Topic: I/O commutation time or bug ? |
firefox78
Replies: 3
Views: 7495
|
Forum: General CCS C Discussion Posted: Fri May 06, 2005 2:08 pm Subject: I/O commutation time or bug ? |
I try to drive 2 ingectors at the same time with a PIC16F628 but with the follow code I have a big problem
output_low(PIN_A0);
output_low(PIN_A1);
delay_ms(15);
output_hi ... |
Topic: USART with more then 1 char |
firefox78
Replies: 2
Views: 5738
|
Forum: General CCS C Discussion Posted: Tue Jan 25, 2005 7:51 am Subject: USART with more then 1 char |
PIC16F628 with a HARDWARE USART.
Hi all, how can read all chars in a USART BUFFER (I read that the USART can handle 3 chars) ?
I read the 1st char with :
x = getch();
and the next 2 chars ? ... |
|