Skip to content

jmwilson/linear-clock-firmware

Repository files navigation

Firmware for Linear Clock: Solar

The project structure was created using STM32CubeMX, which generates the initialization code that runs on the microcontroller. In the generated files, the project-specific additions are found between USER CODE BEGIN and USER CODE END blocks. Noteworthy files:

  • Src/astronomy.cc: code for computing the sun’s relative position in the horizontal coordinate system, and the day fraction used in the clock’s display
  • Src/tlc5926.cc: control sequences used for configuring the TI TLC5926 shift register drivers
  • Src/ublox.cc: a state-machine based driver for parsing incoming UBX protocol messages from the ublox GNSS module
  • sunclock.ioc: the STM32CubeMX project file containing the microcontroller pinout and peripheral configuration

Packages

No packages published

Languages