[AVR] eeprom command in Codevision

Status
Not open for further replies.

abdi110

Member level 3
Joined
Mar 5, 2015
Messages
60
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,728
Hi everyone,
I have a problem with this line in my program in codevision
eeprom bit L;
The compiler reports an error:
eeprom memory attribute not allowed in this context.

please help
 

Actually I need to toggle a bit in eeprom.

- - - Updated - - -

I think I solved the problem.
I can use this one.
A is a char.
A^=1 <<n;
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…