Skip to content

TimHanewich/RunningLightControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Light Control

A light-weight package for controlling a raspberry-pi connected LED running light.

Example code:

import RPi.GPIO as GPIO
import runninglight
import time


#Pin for the light
MPIN = 3

#set up
GPIO.setmode(GPIO.BCM)
GPIO.setup(MPIN, GPIO.OUT)

#create
rlm = runninglight.runninglightmanager(MPIN)

#run
rlm.set_mode(runninglight.light_mode.doubleblink_1sec)
rlm.start()
print("Started!")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages