1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00
Commit Graph

542 Commits

Author SHA1 Message Date
9d48b52312 Removed unused "socket.h" interface from WiFi library.
(that was probably an heritage from Ethernet lib)
2013-12-30 18:04:31 +01:00
d920b7b67c Removed unused stuff from WiFi library. 2013-12-30 18:04:31 +01:00
a80b2b1d53 Audio library to format 1.5 rev.2 2013-12-27 01:32:36 +01:00
d930e22436 GSM library to format 1.5 rev.2 2013-12-27 01:21:00 +01:00
9552db3fe4 In LiquidCrystal, remove an unused variable 2013-12-18 13:09:48 +01:00
8c6bcf0c84 In LiquidCrystal::begin(), use a define instead of a hardcoded 0 2013-12-18 13:09:48 +01:00
265ac7b59e 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
1786716a75 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
3fdda81a1a 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
03a6b2c54a Added setRowOffsets to LiquidCrystal library
Original commit by Mark Sproul, but cleaned up by Matthijs Kooijman.
2013-12-18 13:09:48 +01:00
d20c028469 Merge remote-tracking branch 'arduino/master' into ide-1.5.x
Conflicts:
	libraries/Ethernet/EthernetClient.cpp
2013-12-09 18:31:43 +01:00
29954567e7 update AdvancedChatServer.ino, add operator!= 2013-12-06 23:19:19 +01:00
fbdf3a18ee remove all Changes besides operator== 2013-12-06 19:05:31 +01:00
9a50f9f1fa TFT library: warning messages in PImage class and strings inside examples now stored in flash to save RAM 2013-12-06 11:17:17 +01:00
889e1f6583 apply AdvancedChatServer.ino changes to renamed ChatServer.ino 2013-11-28 09:58:27 +01:00
b5c500f5b4 revert Chatserver example, create new AdvancedChatServer based on it 2013-11-28 09:43:46 +01:00
a27604f59e add some lines of comment to ChatServer.ino, remove redundant assignment of Client-instance 2013-11-27 17:49:20 +01:00
937bce1a0b add localPort to EthernetClient, simplify operator== 2013-11-27 10:40:57 +01:00
ca37de4ba4 add operator==, remoteIP and remotePort to EthernetClient 2013-11-26 00:12:44 +01:00
583dafb576 Fixed return value of Bridge::get(..) (returning 0 also with valid data len >0) 2013-11-25 23:08:40 +01:00
fe6295e124 Implemented multi-byte read in File::read of Bridge library. 2013-11-22 16:33:07 +01:00
e5e9d536ab Fixed typo 2013-11-22 15:04:51 +01:00
fcb20ea80c Added missing File::size() method to Bridge. 2013-11-22 15:04:23 +01:00
bc584744f6 Detect version of bridge.py running on the Yun. 2013-11-22 14:34:43 +01:00
d5c828736b Revert "SPI library to new format" 2013-11-21 15:05:36 +01:00
ff24874117 Revert "EEPROM library to the new format"
This reverts commits:
3223d4fdca
77f8dd63ab
2013-11-21 11:22:44 +01:00
32832069ce Fixed compile error on StandardFirmata example.
Revert "Servo library refactoring. See #1617"

This reverts commit e8834d32f3.

See #1617
2013-11-18 11:41:45 +01:00
7f17170678 Revert "SoftwareSerial library to the new format"
This reverts commit 38c3bbbd3c.
2013-11-15 12:54:59 +01:00
9a9652d506 Revert "Wire library to the 1.5 format"
This reverts commit a31857688b.
2013-11-15 12:54:59 +01:00
258c7af469 Bridge library is now platform independent. 2013-11-15 12:54:59 +01:00
9dcbfd47e1 Merge branch 'master' into ide-1.5.x
Conflicts:
	libraries/RobotIRremote/examples/IRrecord/IRrecord.ino
	libraries/RobotIRremote/examples/IRrecvDump/IRrecvDump.ino
	libraries/RobotIRremote/examples/IRrelay/IRrelay.ino
	libraries/RobotIRremote/examples/IRtest/IRtest.ino
	libraries/RobotIRremote/examples/IRtest2/IRtest2.ino
	libraries/RobotIRremote/examples/JVCPanasonicSendDemo/JVCPanasonicSendDemo.ino
	libraries/Robot_Control/examples/explore/R10_Rescue/R10_Rescue.ino
2013-11-14 16:04:45 +01:00
3685463414 Merge pull request #1659 from X-Y/master
Fix robot problems regarding new version of Arduino
2013-11-14 06:59:02 -08:00
a0727ac862 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
b332904ee1 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
4869f7f979 Updated listfiles SD example
Updated description of the file
2013-11-11 16:19:48 +04:00
853be57648 Merge remote-tracking branch 'arduino/master' into ide-1.5.x
Conflicts:
	libraries/Ethernet/examples/XivelyClient/XivelyClient.ino
	libraries/Ethernet/examples/XivelyClientString/XivelyClientString.ino
	libraries/GSM/examples/GSMXivelyClient/GSMXivelyClient.ino
	libraries/GSM/examples/GSMXivelyClientString/GSMXivelyClientString.ino
	libraries/Servo/examples/Knob/Knob.ino
	libraries/Servo/examples/Sweep/Sweep.ino
	libraries/WiFi/examples/WiFiXivelyClient/WiFiXivelyClient.ino
	libraries/WiFi/examples/WiFiXivelyClientString/WiFiXivelyClientString.ino
2013-11-11 12:40:59 +01:00
cb9686dc33 Updates to a number of Examples
removed pachube examples, added xively examples. changes to the Servo
examples
2013-11-08 18:46:27 +04:00
4cb0b11405 Fix robot problems regarding new version of Arduino 2013-11-04 20:17:04 +01:00
0732d5afcd Fixed compilation errors with some examples 2013-10-21 13:16:51 +02:00
00bdd3df03 Run new astyle formatter against libs Bridge, SpacebrewYun and Temboo 2013-10-21 10:13:31 +02:00
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
fdf10eb663 Better parametric Bridge.begin() 2013-10-18 09:31:07 +02:00
e21b182af2 Removed destructor from File.cpp and SD.h as it leads to unexpected close/destructed objects #814 2013-10-17 20:49:24 +02:00
88f7504e81 Removed destructor from File.cpp and SD.h as it leads to unexpected close/destructed objects #814 2013-10-15 17:09:20 +02:00
e8834d32f3 Servo library refactoring. See #1617 2013-10-15 09:41:42 +02:00
cb7b62f43e added the support to the new display GREENTAB_L 2013-10-14 17:23:39 +02:00
034cb91737 Merge remote-tracking branch 'origin/ide-1.5.x' into ide-1.5.x 2013-10-14 17:19:48 +02:00
bef7b94ea7 merge 2013-10-14 12:42:42 +02:00
02550de1e9 Merge remote-tracking branch 'origin/ide-1.5.x' into ide-1.5.x 2013-10-10 20:59:01 +02:00
6732677500 Merge pull request #1383 from bjelojac/patch-1
Fix for #814, Memory Leak
2013-10-09 08:42:12 -07:00