Hi is it possible to store a small amount of data on the internal EEPROM of the Atmega8 chip?
If there isn't an arduino function for it yet, could somebody help with some C code?
Thanks very much
Hi is it possible to store a small amount of data on the internal EEPROM of the Atmega8 chip?
If there isn't an arduino function for it yet, could somebody help with some C code?
Thanks very much
using the secret powers obviuosly
value = eeprom_read_byte(address);
eeprom_write_byte(address,value);
it should work... if it does i'll add it to the docs
massimo
Ah great thanks. Have not had time to try it yet.
but just quick question.
I guess I can only write bytes - how many addresses are there?
using the secret powers obviuosly
value = eeprom_read_byte(address);
eeprom_write_byte(address,value);
it should work... if it does i'll add it to the docs
massimo
Can you tell us more about this secret power ? What are the adress an the kind of value we can use ?
thanks
/me
the address is between 0 and 511
value is any byte (8 bit number)
m.
Thanks for this great trick!
When writting the eeprom is it possible to erase or modify the current program?
Hye quique
refer to this thread :http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1142551600
Massimo give us an answer about different type of memory in the arduino board (in the avr)
regards
eric