Adalight implementation using Stellaris LaunchPad and LPD8806 led strip
C++ C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
LICENSE
README.md
Stellaris LM4F120H5QR.ccxml
cbc_handler.cpp
cbc_handler.h
lpd8806.cpp
lpd8806.h
lpd8806_wo_smooth.cpp
lpd8806_wo_smooth.h
macros.ini_initial
startup_ccs.c
target_config.ccxml
usb_dev_serial.cpp
usb_dev_serial_ccs.cmd
usb_serial_structs.cpp
usb_serial_structs.h

README.md

Ambient lighting for PC using LPD8806 led strip and adalight-protocol

Straight forward adalight implementation for Stellaris LaunchPad. Developed for LM4F120H5QR.

See full article: http://juippi.kapsi.fi/p/558

Orginal adalight for arduino: http://learn.adafruit.com/adalight-diy-ambient-tv-lighting/overview

Features

  • Led smoothing (similar implementation to lightpack's arduino-based software)
  • Debug interface using Debug UART interface (requires connecting DEBUG USB to PC)
  • Supports Adalight-protocol
  • Support for LPD8806 led driver

Limitations

  • Led count to 32 (easy to change...)
  • Fixed ledstrip pins:
    • SSI0-port for SPI data transfer
    • PA2 for Clock IN (CI)
    • PA5 for Data IN (DI)

Requirements

  • StellarisWare: usblib, utils, uart
  • Code Composer Studio (startup_css.c only for CCS, but should be easily to port to gcc and others)

Note: lpd8806_wo_smooth.cpp/h are not used. Old implementation, just for reference only, because smoothing-operations shouldn't be coupled to led strip driver.

Warning: Code is very messy :( I might refactor whole project, if I ever need to touch this anymore