Author |
Message |
Topic: URGENT: strtol and pointers problems |
sprotch
Replies: 1
Views: 4930
|
Forum: General CCS C Discussion Posted: Wed Nov 23, 2005 2:40 pm Subject: URGENT: strtol and pointers problems |
Hi all!
In a program for my diploma project I want use the strtol function which extract a long from a string. Regarding to CCS Compiler reference manual the following code should give result = 123 a ... |
Topic: ROM questions |
sprotch
Replies: 1
Views: 4133
|
Forum: General CCS C Discussion Posted: Tue Oct 18, 2005 1:57 am Subject: ROM questions |
Hi all!
I'm new in PIC programming and want to store data in ROM but can't understand the difference between several functions. My purpose is to store data (string) in ROM during a configuration sess ... |
Topic: Has anyone got experience connecting GPRS modules to pics |
sprotch
Replies: 6
Views: 7245
|
Forum: General CCS C Discussion Posted: Tue Oct 18, 2005 1:06 am Subject: Has anyone got experience connecting GPRS modules to pics |
Hi ljb,
In my current project I'm using a GSM/GPRS module to transmit data to a server via TCP over GPRS. As I'm starting the project I don't have finished to implement all the features I'll need b ... |
Topic: Serial ISR problem |
sprotch
Replies: 6
Views: 6637
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2005 6:48 am Subject: Serial ISR problem |
Thanks for the suggestion Ttelmah but it's the PIC who will power on the modem in my code and as I must catch the AT messages the modem will return me, I'm forced to have the interrupt enabled at once ... |
Topic: Serial ISR problem |
sprotch
Replies: 6
Views: 6637
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2005 6:31 am Subject: Serial ISR problem |
The problem was that my PIC is bound to a GSM modem which is powered off at start time. It's switched on later in the code so the receive pin was seen as floating which causes my troubles...
Thanks ... |
Topic: Serial ISR problem |
sprotch
Replies: 6
Views: 6637
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2005 5:53 am Subject: Serial ISR problem |
Thanks Ttelmah!
I see what you think about and try to modify my code, putting an (exagerated) delay at start and then clearing the interrupt... the result is the same...
void main(){ ... |
Topic: Serial ISR problem |
sprotch
Replies: 6
Views: 6637
|
Forum: General CCS C Discussion Posted: Fri Oct 14, 2005 5:12 am Subject: Serial ISR problem |
Hi,
I've a problem with an interrupt routine for serial communication. When enabling interrupts on INT_RDA, a NUL character is read (ASCII code 0) whithout sending anything to the serial port? I do ... |
|