Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] I2C Question take 2

2004-12-29 by wbounce

I tried that last night. The code runs through without error but the
sensor has not changed its address. Something else must be wrong.



-----Original Message-----
From: Alex Tsigulin [mailto:neolp@mail.ru] 
Sent: Tuesday, December 28, 2004 11:55 PM
To: wbounce
Subject: Re: [AVR-Chat] I2C Question take 2



Hello wbounce,

> If I want to write 4 different byte values to 1 address to a device 
> what do I have to do? I am currently trying
> Start condition
> Put out the device ID and write 
> Put out memory address
> Put out a restart request <- not sure if this is needed

You should delete this line. Device should has way to distinguish
address from data.

> Put out the 1st data byte
> Put out the 2nd data byte
> Put out the 3rd data byte
> Put out the 4th data byte



-- 
Best regards,
 Alex                            mailto:neolp@mail.ru




 
Yahoo! Groups Links

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.