Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

[AVR] eeprom command in Codevision

Status
Not open for further replies.

abdi110

Member level 2
Joined
Mar 5, 2015
Messages
52
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
381
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
 

abdi110

Member level 2
Joined
Mar 5, 2015
Messages
52
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
381
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top