avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Write byte to eeprom beyond 255 ?


From: Dave Hylands
Subject: Re: [avr-chat] Write byte to eeprom beyond 255 ?
Date: Mon, 27 Jul 2009 10:50:46 -0700

Hi Wally,

On Mon, Jul 27, 2009 at 9:10 AM, wally<address@hidden> wrote:
> Hello,
>
> How to write a single byte to the eeprom area beyond 255 ?

Umm - provide a pointer with a value larger than 255.

> in avr/eeprom.h i just found
>
> void eeprom_write_byte (uint8_t *addr, uint8_t value)

Notice that addr is a uint8_t pointer, (which means that it's 16 bits).

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]