Skip to content
My simple code for a launchpad VFD clock
C Puppet Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Debug
Release
I2C_Stellaris_API.c
I2C_Stellaris_API.h
README.md
baselid.stl
macros.ini_initial
project0.c
project0_ccs.cmd
softPwm.c
softPwm.h
startup_ccs.c
target_config.ccxml
tube clock.scad
tube clock_fixed.stl

README.md

project0

My simple code for a launchpad VFD clock. Read the code for details, but the basic idea is:

On first power-up, the time is read via i2c from a DS1307 RTC chip. One input is connected to the square wave 1Hz output of the DS1307, and increments the second counter on an interrupt. One output is PWM'ed to drive a switch mode power supply that boosts 5v-50V for the tubes. Three outputs send data to the MAX6921 driver chip constantly to keep the persistence of vision effect working.

You can’t perform that action at this time.