Simple Digital Clock Program? - Raspberry Pi Forums


i have had rpi2 year or , have had nothing frustration i'm used programming in other languages , can't head around linux system differences windows. lately i've been considering pulling out of drawer try make simple digital clock program old monitor have. think there kind of simple code out there somewhere can't find one.

possible without internet connection? network doesn't cooperate rpi , drops internet connection time, want bother if done offline....is possible?

bshs_exp_dsgn wrote: i'm used programming in other languages
what other languages ? pi supports many many programming languages , never know, ask here , might find available. common languages such c/c++, python etc included within raspbian standard. if language want obscure not available on pi, might better served learning more mainstream. can use knowledge everywhere.
bshs_exp_dsgn wrote:lately i've been considering pulling out of drawer try make simple digital clock program old monitor have. think there kind of simple code out there somewhere can't find one.
here digital clock program:
http://opencircuitdesign.com/~tim/programs/dclock/
bshs_exp_dsgn wrote:is possible without internet connection? network doesn't cooperate rpi , drops internet connection time,
well means there wrong network. of servers in world run linux! google has on million servers , run linux. wouldn't possible if linux's networking dodgy.
bshs_exp_dsgn wrote:so want bother if done offline....is possible?
you can various rtc modules quite cheaply, battery backed, allow run without ntp. google "raspberry pi rtc". ntp (network time protocol) far more accurate , wont drift on time. if pi3 has built-in wifi easier move clock around.

suppose option might highly accurate time gps:
https://www.adafruit.com/product/746


raspberrypi



Comments