Author |
Message |
Topic: internal eeprom management |
altra22
Replies: 1
Views: 5009
|
Forum: General CCS C Discussion Posted: Sat Jan 01, 2011 1:39 pm Subject: internal eeprom management |
Hi All
Can I implement ex_malloc.c example to internal eeprom ? My PIC is 16F876A which has 256 byte of EEPROM. I want to store users and delete users (Rarely).
So I cannot do it while run-time via ... |
Topic: ex_malloc.c Compile error |
altra22
Replies: 5
Views: 6535
|
Forum: General CCS C Discussion Posted: Wed Dec 29, 2010 10:22 am Subject: ex_malloc.c Compile error |
I know because of that i wrote this post
to see if the problem with my compiler or the version it self?
i did compile the example file 'as-is' with these errors. |
Topic: ex_malloc.c Compile error |
altra22
Replies: 5
Views: 6535
|
Forum: General CCS C Discussion Posted: Wed Dec 29, 2010 4:53 am Subject: ex_malloc.c Compile error |
when i try to compile ex_malloc.c from examples i get errors
Line 72(27,31): Undefined identifier cell
Line 87(44,48): Undefined identifier cell
my compiler version ... |
Topic: Compare array from EEPROM |
altra22
Replies: 5
Views: 9917
|
Forum: General CCS C Discussion Posted: Sat Dec 25, 2010 1:51 pm Subject: Compare array from EEPROM |
Thanks Ben it's working.
Now I want to read the string in eeprom and compare it to usernames.
I will do it in real hardware with real eeprom (24c16).
Hope to be easy to deal with.
Thanks again |
Topic: Compare array from EEPROM |
altra22
Replies: 5
Views: 9917
|
Forum: General CCS C Discussion Posted: Fri Dec 24, 2010 6:15 pm Subject: Compare array from EEPROM |
Thanks Ben for your reply.
Yes Proteus make troubles
I found example about strtok in CCS manual and I tried to implement it to my need:
#include <16f876a.h>
#fuses xt,NOWDT,NOLVP
... |
Topic: Compare array from EEPROM |
altra22
Replies: 5
Views: 9917
|
Forum: General CCS C Discussion Posted: Thu Dec 23, 2010 6:40 am Subject: Compare array from EEPROM |
I am trying to compare string from External EEPROM and check if this user is already in PIC
char const users [3][15]={"JOHN","SAMI","JAMAL"}; ... |
Topic: date/time difference display |
altra22
Replies: 1
Views: 3539
|
Forum: General CCS C Discussion Posted: Sat Jul 17, 2010 9:51 am Subject: date/time difference display |
Hi, I am doing project to display difference between two dates in days/hours/min/sec.
My date is 1924 till this moment a count up timer.
I searched the forum and I see this:
/******* Adapted for ... |
Topic: two a/d channels reading problem |
altra22
Replies: 7
Views: 5847
|
Forum: General CCS C Discussion Posted: Sat May 19, 2007 3:11 am Subject: two a/d channels reading problem |
my compiler is PCWH 4.033 |
Topic: two a/d channels reading problem |
altra22
Replies: 7
Views: 5847
|
Forum: General CCS C Discussion Posted: Thu May 17, 2007 1:51 pm Subject: two a/d channels reading problem |
no it doesn't work and i used double the result is the same i think the problem with while loop when i use for loop it's works but when i use while(true) or while(1) here's the problem
for loop give ... |
Topic: two a/d channels reading problem |
altra22
Replies: 7
Views: 5847
|
Forum: General CCS C Discussion Posted: Thu May 17, 2007 5:34 am Subject: two a/d channels reading problem |
Sorry Guest was me
forget to login |
Topic: two a/d channels reading problem |
altra22
Replies: 7
Views: 5847
|
Forum: General CCS C Discussion Posted: Mon May 14, 2007 1:35 pm Subject: two a/d channels reading problem |
Hi my problem to display two a/d values to lcd the 2nd channel update ok (Temp) but the first one (Volt) does not update until reset the PIC board
Here's my code
#include <16F876a.h>
#dev ... |
|