Commit Graph

21 Commits

Author SHA1 Message Date
768ab1254d Move LiquidCrystal merged files 2016-08-28 19:44:09 +01:00
9662941762 Merge remote-tracking branch 'liquidcrystal/master' 2016-08-28 15:54:15 +01:00
23eba94e9d Clean project for successful make with renamed proto file 2016-08-27 17:01:39 +01:00
b58331bc28 Add example code from http://www.dfrobot.com/wiki/index.php?title=Arduino_LCD_KeyPad_Shield_(SKU:_DFR0009) 2016-08-27 16:43:16 +01:00
8551b6417e Disable broken functionality 2016-07-14 08:43:28 +01:00
841cbde3da Replace tabs with spaces 2015-09-01 13:20:22 +01:00
ea15951f36 Start implementing complete protocol buffer protocol 2015-07-16 22:40:30 +01:00
Calvin Park
e1afbd651b LiquidCrystal Library changes for Galileo and Edison compatibility 2015-07-01 15:06:39 -07:00
3ba8b769a7 Add rudimentary support for buttons states 2015-06-11 22:51:52 +01:00
newbie15
c53d782f0b Added a note about non-standard row offsets in LiquidCrystal.cpp
In my case I had to change it to make my 16x4 LCD work properly

Fixes #1333
2015-05-08 12:35:04 +02:00
a1812e08b2 Migrate to initial protocol for communication that allows setup of display and control of LEDs 2015-03-18 20:47:17 +00:00
a7863182d1 Add protobuf (https://github.com/google/protobuf) and nanopb (https://github.com/metormote/nanopb) to build example beerduino project (https://github.com/ilyevsky/beerduino) using platformio (http://docs.platformio.org/en/latest/). 2015-03-13 11:57:41 +00:00
Cristian Maglie
b1f15314c1 Merge branch 'ide-1.5.x-lcd' of github.com:matthijskooijman/Arduino 2014-11-05 17:28:30 +01:00
Cristian Maglie
ec1cacefb6 Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-07-24 14:46:05 +02:00
Matthijs Kooijman
dbb718a53e In LiquidCrystal, remove an unused variable 2013-12-18 13:09:48 +01:00
Matthijs Kooijman
c2a0d844b6 In LiquidCrystal::begin(), use a define instead of a hardcoded 0 2013-12-18 13:09:48 +01:00
Matthijs Kooijman
596e305a4d Support more LiquidCrystal displays out of the box
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
apply.

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:

http://web.alfredstate.edu/weimandn/lcd/lcd_addressing/lcd_addressing_index.html
2013-12-18 13:09:48 +01:00
Matthijs Kooijman
beed8515f7 In LiquidCrystal::setCursor(), check against length of _row_offsets as well
Before, the row value was maximized against _numlines already, but the
value from _numlines is not limited anywhere, so it could be longer than
the length of _row_offsets. This check makes sure the array bounds is
never exceeded.
2013-12-18 13:09:48 +01:00
Matthijs Kooijman
cb0c50909f Make the LiquidCrystal row offsets uint8_t instead of int
Since these are memory addresses, there is no need to make them signed.
Furthermore, the HD44780 chip supports memory addresses up to 0x67, so
uint8_t shouldbe sufficient.
2013-12-18 13:09:48 +01:00
Mark Sproul
138bcb17c3 Added setRowOffsets to LiquidCrystal library
Original commit by Mark Sproul, but cleaned up by Matthijs Kooijman.
2013-12-18 13:09:48 +01:00
Fede85
c40724514c Ethernet, SD and LiquidCrystal to the new library format 2013-06-26 19:13:04 +02:00