package
0.0.0-20240204172604-5811b385791d
Repository: https://github.com/framps/golang_tutorial.git
Documentation: pkg.go.dev
# Functions
NewLEDController -.
No description provided by the author
NewTrafficLight -- Create a new trafficlight.
NewTrafficManager -.
SaveJSON -.
# Constants
No description provided by the author
No description provided by the author
# Variables
EnableLEDs - Trigger real LEDs connected.
Monitor - write preudo LEDs on monitor.
No description provided by the author
ProgramNormal2 - Just the common traffic light.
ProgramNormal3 - Just the common traffic light.
ProgramTest - Turn every lamp on.
ProgramWarning - Traffic light is not working, just blink.
# Structs
LEDController -.
LEDs - LED GPIO numbers for lights of one traffic light.
Phase consists of light and number of ticks to flash the lights.
Program - Has phases and a state (active phase).
TrafficLight -.
TrafficManager -.
# Type aliases
ProgramRepository -.