• Matthijs Kooijman's avatar
    Support more LiquidCrystal displays out of the box · 2e1f4124
    Matthijs Kooijman authored
    Previously, the row offsets were hardcoded to the ones used for 20x4
    displays (which woudl also work for all 2-line displays). Now, the
    number of columns given is used to calculate the offsets most likely to
    For 2-line displays and 20x4 displays, the (used) offsets are completel
    unchanged. With this change, common 16x4 displays and (if they even
    exist) other 4-line and 3-line displays might also work (depending on
    the hardware configuration used, of course).
    See this page for some info on common LCD sizes and configurations
    encountered in practice:
LiquidCrystal.cpp 8.74 KB