Method: HelloEeprom#printlz

Defined in:
lib/examples/hello_eeprom.rb

#printlz(w) ⇒ Object



45
46
47
48
49
50
# File 'lib/examples/hello_eeprom.rb', line 45

def printlz(w)
  f = 1 + w # hack to coerce w to int
  i = rtc.get(w,0)
  myLCD.print "0" if i < 10
  myLCD.print i
end