|
In lugnet.robotics.nxt, <dickswan@sbcglobal.net> wrote:
>
> > Hi,
> > or was it a quirk at my brain to address the i2c-read-address and
> > hope to receive usefull data ?
> >
> > Currently it works for me when using allways the i2c-write
> > address...
>
>
> This is the excepted behavior. When you want to read from I2C device,
> the NXT firmware first sends a write message to load the internal index
> "pointer" for the I2C device and then sends a read message that will
> read the requested number of bytes. Usually I2C device auto-increment
> the internal index pointer whenever a message is r/w multiple bytes.
Hi Dick,
your answer solves my knot :D
It's a NXT specific behaviour and all alternatives NXT-OSes which uses original
Lego-Source-Lowlevel routines have this feature ?
Thanks for your answer
Bye
Christian
|
|
Message has 1 Reply:
Message is in Reply To:
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|