Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top