1 // Just a copy of the HelloWorld example bundled with the LiquidCrystal library in the Arduino IDE
3 // HD44780 compatible LCD display via MAX3421E GPOUT support header
4 // pinout: D[4-7] -> GPOUT[4-7], RS-> GPOUT[2], E ->GPOUT[3]
8 // Satisfy IDE, which only needs to see the include statment in the ino.
10 #include <spi4teensy3.h>
18 // Set up the LCD's number of columns and rows:
20 // Print a message to the LCD.
21 lcd.print("Hello, World!");
25 // Set the cursor to column 0, line 1 (note: line 1 is the second row, since counting begins with 0):
27 // Print the number of seconds since reset:
28 lcd.print(millis() / 1000);