Skip to content

jvandervelden/rasp-train

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rasp-train

Project to drive a model train via a raspberry pi.

Project file is Code::Blocks.

PwmPinHandler class sends a PWM (pulse width modultator) signal to a GPIO pin specified. I use https://www.cytron.com.my/p-mdd10a dc motor driver.

SwitchPinHandler class sets the GPIO signal to a constant high or low.

Main.cpp has simple setup to run a motor off GPIO 2 and a switch off GPIO3.

About

Project to drive a model train through a raspberry pi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published