Author |
Message |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Thu May 07, 2015 4:39 pm Subject: Interruption function problem when it needs call functions |
Thanks telma for your advices, many of them I had put them on practice when I was designing the program, and of course, I have shrunk the code as short as I could, taking into account the reusing of V ... |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Wed May 06, 2015 1:32 pm Subject: Interruption function problem when it needs call functions |
Ttelmah: Sorry, I meant 256 bytes from memory (not words) but even so, I made a mistake with the info that I would to give, this PIC has 7Kbytes from program memory, the PIC that you comment is less p ... |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Tue May 05, 2015 10:14 am Subject: Interruption function problem when it needs call functions |
Thanks Jeremiah for your attention and your time, I am newbie on CCS (I learned programming using VHDL and is very different, starting for its parallel process and everything else) and well, I have le ... |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Tue May 05, 2015 9:17 am Subject: Interruption function problem when it needs call functions |
I have tested the example you provided, and this one did not send any error, I do not get to figure out why in my program shows overload error, I have also tried removing the #SEPARATE sentence from b ... |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Fri May 01, 2015 6:25 pm Subject: Interruption function problem when it needs call functions |
Thanks guys for you time, I have a most clear idea now. One of my mistakes were to not put the #int_TIMER1 and #int_EXT just before the definition of each interruption. Now only for evaluation issues, ... |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Thu Apr 30, 2015 2:47 pm Subject: Interruption function problem when it needs call functions |
Wow, I did not know about the declaration of the functions, thanks.
I have wrote this below the global vars declaration:
void TIME(void);
int CONVERTER(void);
int MGPS(void ... |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Thu Apr 30, 2015 1:37 pm Subject: Interruption function problem when it needs call functions |
Thanks guys for your help, well I have tried with all the structures you both have given me, the Drolleman's one (I suppose it has a mistake because the functions are written twice in the example) has ... |
Topic: Interruption function problem when it needs call functions |
samus111
Replies: 21
Views: 36932
|
Forum: General CCS C Discussion Posted: Thu Apr 30, 2015 9:09 am Subject: Interruption function problem when it needs call functions |
Hi to everybody, I am working on a GPS-satellite tracker project, and is almost done. Currently, I am only adapting the last feature, but I have found a really great problem that I never thought could ... |
Topic: PIC measuring voltage level from its own supply |
samus111
Replies: 7
Views: 15061
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2015 3:56 pm Subject: PIC measuring voltage level from its own supply |
Hi,
You haven't told us which PIC you are using, so all we can offer are general comments/guidelines. Most PICs will allow you to specify the A/D reference source. By specifying an external source, ... |
Topic: PIC measuring voltage level from its own supply |
samus111
Replies: 7
Views: 15061
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2015 3:32 pm Subject: PIC measuring voltage level from its own supply |
http://www.ccsinfo.com/forum/viewtopic.php?t=24560&highlight=reference+supply
Measure a known voltage reference with your A/D. As battery (supply) level drops, A/D reading will rise.
Thanks ... |
Topic: PIC measuring voltage level from its own supply |
samus111
Replies: 7
Views: 15061
|
Forum: General CCS C Discussion Posted: Mon Jan 12, 2015 2:27 pm Subject: PIC measuring voltage level from its own supply |
Hi to everybody,
I have a project, and one of its projected features is the ability to measure its power supply level and send it by a email message. I never have used A/D converter with PICs, so, I ... |
Topic: EEPROM read/write problem |
samus111
Replies: 23
Views: 42331
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 10:50 am Subject: EEPROM read/write problem |
Thanks to my GOD, I have finally discovered the error and I have been able to solve it. There were a inconsistent with the variable "ms" that currently has the job to indicate the memory add ... |
Topic: EEPROM read/write problem |
samus111
Replies: 23
Views: 42331
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 8:16 am Subject: EEPROM read/write problem |
If you need to go really small, then just get a core.
Bond this directly to the board.
I've built devices significantly smaller than this, and used much larger PIC's.
Talk to somebody who is a ... |
Topic: EEPROM read/write problem |
samus111
Replies: 23
Views: 42331
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 7:59 am Subject: EEPROM read/write problem |
Well I know, I can send a order to avoid 5 of the six NMEA sentences, because really I only use one of these and I only need the hour, day, Latitude and longitude. but to add this feature, would have ... |
Topic: EEPROM read/write problem |
samus111
Replies: 23
Views: 42331
|
Forum: General CCS C Discussion Posted: Thu Sep 11, 2014 7:36 am Subject: EEPROM read/write problem |
Ok guys, I have finally found what's the root of the problem, but I don't why or how to solve it. The problem is that when I try to read from the EEPROM in addresses higher than 128, the read_memory l ... |
|