azadfalah
Full Member level 2
Hello friends
I want through serial communication change the value of a byte
like this
but i don't know How to have a specified address for a byte on micro AVR
AVR ATMEGA64 8mhz
I want through serial communication change the value of a byte
like this
Code:
void rtc_write(unsigned char address,unsigned char data)
{
i2c_start();
i2c_write(0xd0);
i2c_write(address);
i2c_write(data);
i2c_stop();
}
but i don't know How to have a specified address for a byte on micro AVR
AVR ATMEGA64 8mhz