Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

need to instantiate time var

  • Loading branch information...
commit 07c5a626d2b5770f0895a04bbef1e904c5ab7510 1 parent 2d00382
@ndbroadbent authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  octopus_sinatra.rb
View
3  octopus_sinatra.rb
@@ -81,8 +81,9 @@ def lcd_default # Default lcd display
$lcdTimeThread = Thread.new {
while true
$dsp420.write lcd_datetime_fmt, 1, 20, false
- sleep 60
+ sleep(60)
# If its the start of a new day, refresh the message.
+ time = hk_time
if time.hour == 0 and time.min == 0
$dsp420.write motd, 21, 40, false
end
Please sign in to comment.
Something went wrong with that request. Please try again.