Skip to content

Simple build status light from a toy traffic light and a serial connection to the computer

License

Notifications You must be signed in to change notification settings

fayoh/status_light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

status_light Build Status Maintainability Test Coverage

Simple build status light from a toy traffic light and a serial connection to the computer.

This repo contains the firmware for the mcu in the traffic light and a python client class implementing the serial protocol.

HW

The intended hw is an stm8s103 devboard with LEDs and a serial to usb adapter connected.

Building

Prerequisites

The fw requires a recent SDCC with stm8 support and the stm8 header from stm8s-util

To build both fw and the client simply issue make

make

This will build a hex file with the firmware and a python wheel with the client library.

If you have stm8flash installed you can run make flash to flash the firmware.

About

Simple build status light from a toy traffic light and a serial connection to the computer

Resources

License

Stars

Watchers

Forks

Packages

No packages published