Skip to content

indigo6alpha/stm8s-tm1637

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TM1637 C library for STM8 MCUs

A library to configure and control TM1637 4-digit 7-segment display module. This library also contains the GPIO and CLK headers for STM8 MCUs.

Requirements

  • STM8s MCU (STM8S103F3 is referenced in this code)
  • STLink-V2 programmer module
  • SDCC Compiler (Do not use the sdcc package from the Ubuntu repositories. Download the latest version here)
  • SDCC libraries (Use apt-get install sdcc-libraries on Linux)
  • stm8flash tool (Add this to the PATH or add the correct path the Makefile before building)

Build demo

make clean

make

make flash (or make sudoflash in case superuser permissions are required to access stlink-v2)

Thanks

vdudouyt for the stm8flash tool

bitbank2 for the original tm1637 C library

About

TM1637 C library for STM8 MCUs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published