! ! ! ! ! ! ! ! ! ! !
!
17!
!
You!will!also!need!to!modify!the!software!a!little!bit!to!use!different!GPIO!pins.!More!
details!can!be!found!here:!
http://www.uugear.com/portfolio/changecthecpincthatcusedcbycwittycpi/
!
Software!Customization!
If!You!like!programming,!you!could!customize!or!even!write!your!own!software!for!
Witty!Pi.!The!software!from!us!is!a!good!example!to!start!learning!how!to!write!
program!for!Witty!Pi.!We!believe!the!most!interesting!part!is!to!program!the!RTC!chip!
and!make!different!setups!of!alarms!to!schedule!the!Pi’s!startup/shutdown.!We!will!
keep!writing!tutorials!for!this!part,!and!update!the!examples!in!this!manual.!Meanwhile!
you!could!also!checkout!the!
datasheet!for!DS1337!chip
,!and!its!“ALARMS”!section!
has!the!information!that!needed!for!programming!the!alarms.!
There!is!another!choice,!which!we!think!is!even!better.!That!is!to!
use!the!schedule!
script!as!an!interfacing!language
.!You!don’t!need!to!really!understand!how!Witty!Pi’s!
software!worksu!instead!you!just!create!your!own!schedule!script,!and!let!Witty!Pi’s!
software!to!take!care!of!the!rest.!Programming!Witty!Pi!becomes!so!easy!because!
your!application!only!need!to!generate!a!text!file,!according!to!user’s!input.!
!
!
!