Go to advanced search

by hans_ober
Fri Mar 16, 2018 5:44 am
Forum: Astro Pi
Topic: Sense HAT LED matrix i2c protocol
Replies: 7
Views: 6224

Re: Sense HAT LED matrix i2c protocol

https://github.com/4eMaLo/SenseHAT-Game-of-Life

I tried this out and it works perfectly!
by hans_ober
Thu Mar 15, 2018 5:24 pm
Forum: Astro Pi
Topic: Sense HAT LED matrix i2c protocol
Replies: 7
Views: 6224

Re: Sense HAT LED matrix i2c protocol

It 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 t...
by hans_ober
Wed Mar 14, 2018 5:25 pm
Forum: Astro Pi
Topic: Sense HAT LED matrix i2c protocol
Replies: 7
Views: 6224

Re: Sense HAT LED matrix i2c protocol

The idea is to talk to the device directly rather than through the linux driver. Firmware source is here: https://github.com/raspberrypi/rpi-sense 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 bu...
by hans_ober
Tue Mar 13, 2018 12:52 pm
Forum: Astro Pi
Topic: Sense HAT LED matrix i2c protocol
Replies: 7
Views: 6224

Sense HAT LED matrix i2c protocol

Is there any documentation on the actual i2c protocol that the AVR MCU on the Sense HAT uses? I couldn't find the firmware of the AVR that drives the LED matrix.
I'm trying to use the SenseHAT with another microcontroller, and with software emulated i2c on the Pi.

Go to advanced search