We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

FYI: i2cget is little endian

  • Hi peeps, this is just a heads up that i2cget command-line tool is little endian. This means that when you request a word from it, it assumes the first byte is the least significant one. So if you're reading from a sensor and it gives you two bytes in sequence, say first 0xAA then 0xBB, i2cget will output 0xBBAA.

    My sensor is big endian, so I end up having to flip bytes every time I read a 16bit word. In my case i need 0xAABB from above example.

    It's probably the case that i2cset is little endian as well. I haven't had to write any data via i2c on command line, so cannot confirm.

Log in to reply

Looks like your connection to Community was lost, please wait while we try to reconnect.