|
From: | Royce & Sharal Pereira |
Subject: | Re: [avr-gcc-list] read write eeprom WINAVR20050214 |
Date: | Fri, 18 Feb 2005 12:25:55 +0530 |
User-agent: | Opera M2(BETA1)/8.00 (Win32, build 7401) |
------------------------------------------ Actually that's right...I looked in avrlibc docs & I could not find a macro for writing a byte to a 16 bit eeprom address.Though you can write a byte to an 8 bit addr, and a word to a 16 bit addr.Or does this feature exist somewhere? Thanks, --Royce.Hello Royce,The address is an address to an 8 bit variable (which is 16 bits on AVR), nota 8 bit address. Basic C pointer stuff.
---------------------------------------------- Oh yes, you are right. silly me! --Royce. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
[Prev in Thread] | Current Thread | [Next in Thread] |