Skip to content

A set of scripts in different languages which controls GPIO pins and LEDs to create an analog clock. These scripts are designed for use with a Raspberry Pi.

License

Notifications You must be signed in to change notification settings

Yharooer/pi-led-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiClock

A script which controls GPIO pins and LEDs to create an analog clock. These scripts are designed for use with a Raspberry Pi and are written in Java with Pi4J.

More info on what I did can be found on my Website.

Setup

There should be two circuits which look like this:

where each of the four parts at the bottom correspond to GPIO0-GPIO7 on the following diagram:
Image from pi4j.com.

Then execute:

wget https://pi4j.googlecode.com/files/pi4j-1.0-SNAPSHOT.deb
sudo dpkg -i pi4j-1.0-SNAPSHOT.deb
wget https://github.com/Yharooer/Pi-LED-Clock/blob/master/bin/PiClock.jar

More info at bentleycarr.com.

Usage

java -jar PiClock.jar

About

A set of scripts in different languages which controls GPIO pins and LEDs to create an analog clock. These scripts are designed for use with a Raspberry Pi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages