serial_begin # not necessary when using :device => :sf_lcd or :pa_lcd
# File lib/examples/sparkfun_lcd.rb, line 16 def loop check_buttons end
need a bit
# File lib/examples/sparkfun_lcd.rb, line 23 def say_hello my_lcd.setxy 0,0 # line 0, col 0 my_lcd.print "All your base " my_lcd.setxy 0,1 # line 1, col 0 my_lcd.print "are belong to us" end
# File lib/examples/sparkfun_lcd.rb, line 31 def say_ruby my_lcd.setxy 0,0 # line 0, col 0 my_lcd.print " Ruby + Arduino " my_lcd.setxy 0,1 # line 1, col 0 my_lcd.print " RAD 0.2.4+ " # un comment to change display startup #myLCD.setcmd 0x7C, 10 end