Commit Graph

75 Commits

Author SHA1 Message Date
Calvin Park
e1afbd651b LiquidCrystal Library changes for Galileo and Edison compatibility 2015-07-01 15:06:39 -07:00
Federico Fissore
c925fa611f Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 2015-05-20 17:10:06 +02:00
Ish Gupta
472c10752a Updated cursor.ino
Previous commit broke the actual functionality. The code was confusing and worked until the previous commit.
The changes make it logically and functionally correct.
2015-05-14 18:30:17 +05:30
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
Federico Fissore
e86ca41aaa Libraries: added help files to mitigate missing contextual reference issue 2015-04-23 17:19:15 +02:00
Federico Fissore
1f44a43329 Bundled libraries update 2015-04-23 13:01:30 +02:00
Federico Fissore
9f39004e04 Libraries: version now compliant with semver. See http://semver.org/ 2015-03-27 15:01:49 +01:00
Federico Fissore
a368b24eca Libraries: added missing properties 2015-02-25 11:20:40 +01:00
Federico Fissore
a5837b23db Merge branch 'ide-1.5.x' 2015-01-22 17:15:05 +01:00
Arturo Guadalupi
ea5de4455a Cherry picked fix from 87865ac19df2f55e3d073cf5dc7ba08c0de4c584 2015-01-22 17:04:59 +01:00
Arturo Guadalupi
c9c5d64a45 Added README.adoc for the library manager project 2015-01-16 17:14:02 +01:00
Cristian Maglie
6d32f53cda Fixed some libraries metadata. 2015-01-16 12:22:24 +01:00
Arturo Guadalupi
671fcfcc5a Update setCursor.ino
Changedfrom (thisRow, thisCol) to lcd.Setcursor(thisCol, thisRow). It was an error.
2015-01-12 14:37:50 +01:00
Cristian Maglie
7176168659 Added missing keyword in LiquidCrystal library 2014-11-07 19:24:12 +01: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
Cristian Maglie
6119788575 Merge pull request #2206 from amulya349/master
Fix of a bug #2199
2014-07-24 14:40:52 +02:00
Amulya Kumar Sahoo
14bda8dca4 Fix of a spelling mistake 2014-07-23 01:17:31 +05:30
Fede85
32c6f8c746 modified sentences in library.properties files 2014-07-18 19:41:34 +02:00
Ankit Daftery
a8a2e47a3f Update HelloWorld.ino
Adding power connections, just to be thorough
2014-07-03 13:08:12 +05:30
Cristian Maglie
e71db845e7 Updated all library.properties to 1.5 rev2 lib format 2014-02-18 22:32:24 +01: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
Cristian Maglie
5807f587f5 Merge branch 'master' into ide-1.5.x
Conflicts:
	build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino
	build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino
	libraries/LiquidCrystal/examples/CustomCharacter/CustomCharacter.ino
	libraries/SD/examples/listfiles/listfiles.ino
2013-11-12 09:45:56 +01:00
Scott Fitzgerald
bd481b0c7b Modified LCD custom character example
moved lcd.begin() to the beginnng of the setup() and fixed an issue
that prevented the example from compiling. When calling lcd.write()
with an argument of 0, the 0 must be cast a s a byte.
2013-11-11 16:41:12 +04:00
Federico Fissore
40fd0b306a Fixed compilation errors with some examples 2013-10-21 13:16:51 +02:00
Federico Fissore
e0a4493868 Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Cristian Maglie
998f9ce164 Updated libraries metadata 2013-08-08 16:40:55 +02:00
Fede85
c40724514c Ethernet, SD and LiquidCrystal to the new library format 2013-06-26 19:13:04 +02:00
Federico Fissore
29ed8df7e5 fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
Cristian Maglie
b2cbc5eb4c LiquidCrystal library is already multiplatform compliant, moved into libraries folder 2012-09-03 16:13:28 +02:00
Cristian Maglie
e3d0d0d836 Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
Federico Vanzati
b57bba1cfc updated URLs in LiquidCrystal examples 2012-04-11 12:56:31 +02:00
Cristian Maglie
904942006e Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform 2012-01-04 15:14:51 +01:00
Zach Eveland
84638cbd98 Revert "Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot"
This reverts commit df9835efafd13685251749bc210c0b96a18a96a5, reversing
changes made to ec45af8bfa9222a807c075dd1db4b5aa798bba03.

Conflicts:

	hardware/arduino/variants/mega/pins_arduino.h
	libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
2011-10-27 11:45:13 -04:00
Zach Eveland
ed3c7de46f Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot
Conflicts:
	app/src/processing/app/Editor.java
	app/src/processing/app/Sketch.java
	build/shared/examples/4.Communication/SerialCallResponse/SerialCallResponse.pde
	build/shared/lib/theme/theme.txt
	hardware/arduino/cores/arduino/HardwareSerial.h
	hardware/arduino/cores/arduino/Print.cpp
	hardware/arduino/cores/arduino/WString.h
	hardware/arduino/variants/mega/pins_arduino.h
	libraries/Ethernet/examples/PachubeClient/PachubeClient.ino
	libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
	libraries/Firmata/examples/EchoString/EchoString.ino
	libraries/SD/File.cpp
	libraries/SoftwareSerial/SoftwareSerial.cpp
	libraries/SoftwareSerial/SoftwareSerial.h
	libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
	libraries/SoftwareSerial/keywords.txt
2011-10-27 09:32:27 -04:00
David A. Mellis
247e3b8be0 Fixing bug in LiquidCrystal::setCursor() for row == numrows.
http://code.google.com/p/arduino/issues/detail?id=671
2011-10-10 12:35:36 -04:00
David A. Mellis
b90a84c763 Making Print::write(char *) non-virtual.
http://code.google.com/p/arduino/issues/detail?id=607
2011-09-07 18:41:05 -04:00
Tom Igoe
6530a3b218 Changed all .pde examples to .ino
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
David A. Mellis
856e5dcfa4 Moving write errors out of return value into separate API methods.
write(), print(), println() now return size_t (and don't use negative values to signal errors).
Print adds writeError() for checking for write errors, clearWriteError() to reset the flag to false, and a protected setWriteError() for signalling errors.

http://code.google.com/p/arduino/issues/detail?id=598
2011-08-26 16:08:14 -04:00
David A. Mellis
39582bc7a9 Changing from long to ssize_t (int) for write(), print(), println() return. 2011-08-26 14:20:41 -04:00
David A. Mellis
46ff301e25 write(), print(), and println() now return number of bytes written.
The type is long, and negative values indicate errors.  Needs more testing.
http://code.google.com/p/arduino/issues/detail?id=551
2011-08-23 19:12:03 -04:00
Tom Igoe
f3ea1afd04 Added example to demonstrate LiquidCrystal chreateChar() function 2011-05-12 17:03:07 -04:00
Tom Igoe
1a9759a112 Added example to demonstrate LiquidCrystal chreateChar() function 2011-03-21 12:27:18 -04:00
David A. Mellis
e152e12bf9 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05:00
David A. Mellis
4eac8d4769 Modifying examples to use Serial.write() instead of Serial.print(BYTE). 2011-02-26 14:04:41 -05:00