Author |
Message |
Topic: PIC 12F1840 EEPROM issue |
nirmal1990
Replies: 8
Views: 14471
|
Forum: General CCS C Discussion Posted: Mon Nov 28, 2016 4:30 am Subject: PIC 12F1840 EEPROM issue |
Thank you,
It worked. |
Topic: PIC 12F1840 EEPROM issue |
nirmal1990
Replies: 8
Views: 14471
|
Forum: General CCS C Discussion Posted: Mon Nov 28, 2016 3:17 am Subject: PIC 12F1840 EEPROM issue |
Hi
That was helpful, still i have a doubt.
if i use
#ROM int8 getenv("EEPROM_ADDRESS") = {0x00}
this means i write 0 to the first location right.
So every time whe ... |
Topic: PIC 12F1840 EEPROM issue |
nirmal1990
Replies: 8
Views: 14471
|
Forum: General CCS C Discussion Posted: Mon Nov 28, 2016 2:53 am Subject: PIC 12F1840 EEPROM issue |
Hi,
I did not understand this
in CCS help its mentioned
#rom 0x2100={1,2,3,4,5,6,7,8}
so it is also a method to insert data right.
so is it ok if i dont include this statement, since iam ... |
Topic: PIC 12F1840 EEPROM issue |
nirmal1990
Replies: 8
Views: 14471
|
Forum: General CCS C Discussion Posted: Mon Nov 28, 2016 1:22 am Subject: PIC 12F1840 EEPROM issue |
Hi
Thank you for the reply.
I tried the changes but still it is not working.
The statement "if(stcnt <= 0x02) " is not getting true.
As per my understanding the default EEPROM v ... |
Topic: PIC 12F1840 EEPROM issue |
nirmal1990
Replies: 8
Views: 14471
|
Forum: General CCS C Discussion Posted: Fri Nov 25, 2016 7:29 am Subject: PIC 12F1840 EEPROM issue |
Hello,
I am working with PIC12F1840 and have a problem with EEPROM.
I am trying to run a startup function only 3 times so i need a non-volatile variable.
I am trying to store a variable in EEPROM ... |
Topic: PIC 12F1840 ADC problem |
nirmal1990
Replies: 3
Views: 11515
|
Forum: General CCS C Discussion Posted: Fri Nov 18, 2016 7:59 am Subject: PIC 12F1840 ADC problem |
Thank you all for the inputs,
The problem was with return type and delay. |
Topic: PIC 12F1840 ADC problem |
nirmal1990
Replies: 3
Views: 11515
|
Forum: General CCS C Discussion Posted: Thu Nov 17, 2016 5:03 am Subject: PIC 12F1840 ADC problem |
Hello,
I am working with PIC12F1840. I have a problem with the ADC conversion.
There are 3 ADC channels configured and are not giving expected value for the input voltages.
ADC is configured ... |
|