ShiftPlusOne wrote: The idea is to talk to the device directly rather than through the linux driver.
Firmware source is here:
I had a look at the docs on github, and nothing is mentioned about the I2C protocol the AVR uses. The firmware for the AVR isn't posted either.DougieLawson wrote: The SenseHAT code at: https://github.com/RPi-Distro/python-sense-hat doesn't access any I2C devices. The pixels are set up as a 64 pixel RGB565 frame buffer (how that's driven by the RPi is not documented).
There's docs at: https://www.raspberrypi.org/documentati ... /README.md
My application is based on Python, so I'll try using a Python i2c library.ShiftPlusOne wrote: ↑Wed Mar 14, 2018 7:27 pmIt can definitely be used. The information is off the top of my head, so I can't give you the specifics, but there's really nothing tricky to it.Try i2cget and i2cset to write to the first few registers and the rest should be obvious.
I'm sure I've seen straight C libraries for talking to it, but the first one I found is a C# one: https://github.com/emmellsoft/RPi.Sense ... Support.cs
Users browsing this forum: No registered users and 4 guests