ECE497 Notes on Adafruit

Revision as of 19:35, 10 August 2012 by Yoder (Talk | contribs)

Jump to: navigation, search

thumb‎ Embedded Linux Class by Mark A. Yoder

Here are notes on using using various Adafruit things. The main Adafruit git repository is here.

LED Backpack

Here are some leads for interfacing the Small 1.2" 8x8 Bi-Color (Red/Green) Square LED Matrix.

git repositories:

The LED backpack using the HT16K33 LED controller.

The LED startup sequence seems to be:

  • Send 0x21 to start the oscillator (Page 10)
  • Send 0x81 to turn the display on and blinking off (Page 11)
  • Send 0xef to set brightness to full (Page 15)
  • Send 0x00 to start adding at 0 (Page 13)

A command summary starts on page 30.

This will dump some of the registers

i2cdump -y -r 0-0x0f 3 0x70 b

Setting address 0xa3 turns on a row of LEDS, but hangs the device.

thumb‎ Embedded Linux Class by Mark A. Yoder