1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Commit Graph

514 Commits

Author SHA1 Message Date
Cristian Maglie
738b9d8e29 Merge remote-tracking branch 'arduino/master' into ide-1.5.x
Conflicts:
	.gitignore
	app/lib/commons-logging-1.0.4.jar
	build/build.xml
	build/windows/launcher/config_debug.xml
	libraries/Esplora/examples/Beginners/EsploraJoystickMouse/EsploraJoystickMouse.ino
2014-03-16 12:11:19 +01:00
Fede85
475ee9fde5 [YunSerialTerminal example]: corrected the CRC in the Bridge shutdown command 2014-03-13 11:44:44 +01:00
Scott Fitzgerald
9810e896d1 Update to Esplora example
Added Mouse.press to Esplora Joystick Mouse example
2014-03-08 12:43:18 +04:00
Enrico Gueli
8642df71e6 Esplora: added reading form Tinkerkit inputs 2014-03-03 19:57:02 +01:00
Cristian Maglie
c84e9ed21a Merge branch 'master' into ide-1.5.x 2014-02-27 13:32:35 +01:00
Cristian Maglie
2380a8f3d7 Added copyright license for WiFi shield library
See #1117
2014-02-27 12:46:05 +01:00
Cristian Maglie
781271e8a5 Robot_Control fixes. See #1709 #1599. 2014-02-19 18:44:01 +01:00
JC Wren
12b706551d SD.c: Fix error in comment for remove()
Comment was duplicated from mkdir() and not updated.
2014-02-19 16:09:30 +01:00
J.C. Wren
a991f26b8d Sd2Card.cpp: fix compiler warning
All the while() loops that check for the SPI transfer to be complete have the
semi-colon immediately after the closing parenthesis.  This both causes a
compiler warning of "warning: suggest a space before ';' or explicit braces
around empty body in 'while' statement", and is considered a less-than-ideal
programming practice.  This patch breaks the semi-colon on to the next line,
both eliminating the compiler error and making the code more readable.

In all probability the test should be moved into a macro or a inlineable
sub-routine.
2014-02-19 16:09:30 +01:00
Matthijs Kooijman
9dca56dced Don't use IPAddress::_address from EthernetClass
EthernetClass is a friend class of IPAddress, so it is allowed to use
its _address attribute directly. However, it should be using
IPAddress::raw_address() instead, like all the other friend classes do.

This changes allows changing the _address attribute to fix some warnings
next.
2014-02-19 16:09:29 +01:00
Cristian Maglie
ce65ecec06 SpacebrewYun library is now vanilla (after 42d19b55c900cc33334d7938c9d7ec8c034e9c6e) 2014-02-18 22:32:24 +01:00
Cristian Maglie
bab0062998 Temboo library is now vanilla 2014-02-18 22:32:24 +01:00
Cristian Maglie
76ded605ff Updated all library.properties to 1.5 rev2 lib format 2014-02-18 22:32:24 +01:00
Cristian Maglie
a96c8cab12 Merge branch 'master' into ide-1.5.x 2014-02-12 17:17:33 +01:00
Xun Yang
53adddcb33 Fixed issue #1478, #1599, #1709, motors being opposite, updated turning algorithm 2014-02-12 02:02:20 +01:00
Fede85
5dfafe7847 WiFi Shield examples: added the firmware version check 2014-02-06 18:40:48 +01:00
Cristian Maglie
793b139d39 Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-02-05 15:58:30 +01:00
Scott Fitzgerald
1c28dab57b Updated Listfiles SD example
Changed SS pin to 4 for consistency with other examples
2014-02-02 14:35:04 +04:00
Cristian Maglie
9ebfe233b8 Merge branch 'patch-1' of github.com:bobh66/Arduino into bobh66-patch-1 2014-01-28 19:01:26 +01:00
Fede85
90fb863c01 better Client.stop() handling in WebClientRepeating and WifiWebClientRepeating examples 2014-01-21 20:38:52 +01:00
Cristian Maglie
2491c16d77 Merge branch 'lib-1.5-rev2' into HEAD 2014-01-09 14:56:23 +01:00
Cristian Maglie
618f537691 Ethernet library refactoring
- removed arch folder
- merged socket.c and w5100.c for SAM and AVR, this is preparatory
  to make library vanilla
2014-01-05 08:50:52 +01:00
bobh66
d8c30c36d4 Add error handling and optimize FileIO::doBuffer() in the Bridge library
Update FileIO::doBuffer() to check for TRANSFER_TIMEOUT and set buffered to 0, and optimize by incrementing readPos instead of moving all of the data one byte to the left in the buffer to skip the error code byte.
2014-01-04 18:05:06 -06:00
Cristian Maglie
4b7302692c Servo library to format 1.5 rev.2 2014-01-02 00:20:31 +01:00
Cristian Maglie
03a7cf3212 Robot Control library to format 1.5 rev.2 2014-01-01 23:45:39 +01:00
Cristian Maglie
dd7e0ee33f WiFi library is now vanilla 2013-12-30 18:04:31 +01:00
Cristian Maglie
1ddf6136af WiFi librari: SPI delay is computed based on F_CPU constant 2013-12-30 18:04:31 +01:00
Cristian Maglie
a2482734b5 Moved vanilla parts of WiFi library into common source folder. 2013-12-30 18:04:31 +01:00
Cristian Maglie
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
Cristian Maglie
d920b7b67c Removed unused stuff from WiFi library. 2013-12-30 18:04:31 +01:00
Cristian Maglie
a80b2b1d53 Audio library to format 1.5 rev.2 2013-12-27 01:32:36 +01:00
Cristian Maglie
d930e22436 GSM library to format 1.5 rev.2 2013-12-27 01:21:00 +01:00
Cristian Maglie
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
ntruchsess
29954567e7 update AdvancedChatServer.ino, add operator!= 2013-12-06 23:19:19 +01:00
ntruchsess
fbdf3a18ee remove all Changes besides operator== 2013-12-06 19:05:31 +01:00
Fede85
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
ntruchsess
889e1f6583 apply AdvancedChatServer.ino changes to renamed ChatServer.ino 2013-11-28 09:58:27 +01:00
ntruchsess
b5c500f5b4 revert Chatserver example, create new AdvancedChatServer based on it 2013-11-28 09:43:46 +01:00
ntruchsess
a27604f59e add some lines of comment to ChatServer.ino, remove redundant assignment of Client-instance 2013-11-27 17:49:20 +01:00
ntruchsess
937bce1a0b add localPort to EthernetClient, simplify operator== 2013-11-27 10:40:57 +01:00
ntruchsess
ca37de4ba4 add operator==, remoteIP and remotePort to EthernetClient 2013-11-26 00:12:44 +01:00
Cristian Maglie
583dafb576 Fixed return value of Bridge::get(..) (returning 0 also with valid data len >0) 2013-11-25 23:08:40 +01:00
Cristian Maglie
fe6295e124 Implemented multi-byte read in File::read of Bridge library. 2013-11-22 16:33:07 +01:00
Cristian Maglie
e5e9d536ab Fixed typo 2013-11-22 15:04:51 +01:00
Cristian Maglie
fcb20ea80c Added missing File::size() method to Bridge. 2013-11-22 15:04:23 +01:00
Cristian Maglie
bc584744f6 Detect version of bridge.py running on the Yun. 2013-11-22 14:34:43 +01:00
Cristian Maglie
d5c828736b Revert "SPI library to new format" 2013-11-21 15:05:36 +01:00
Cristian Maglie
ff24874117 Revert "EEPROM library to the new format"
This reverts commits:
3223d4fdca
77f8dd63ab
2013-11-21 11:22:44 +01:00
Cristian Maglie
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
Cristian Maglie
7f17170678 Revert "SoftwareSerial library to the new format"
This reverts commit 38c3bbbd3c.
2013-11-15 12:54:59 +01:00
Cristian Maglie
9a9652d506 Revert "Wire library to the 1.5 format"
This reverts commit a31857688b.
2013-11-15 12:54:59 +01:00
Cristian Maglie
258c7af469 Bridge library is now platform independent. 2013-11-15 12:54:59 +01:00
Cristian Maglie
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
Cristian Maglie
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
Cristian Maglie
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
Scott Fitzgerald
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
Scott Fitzgerald
4869f7f979 Updated listfiles SD example
Updated description of the file
2013-11-11 16:19:48 +04:00
Cristian Maglie
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
Scott Fitzgerald
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
Xun Yang
4cb0b11405 Fix robot problems regarding new version of Arduino 2013-11-04 20:17:04 +01:00
Federico Fissore
0732d5afcd Fixed compilation errors with some examples 2013-10-21 13:16:51 +02:00
Federico Fissore
00bdd3df03 Run new astyle formatter against libs Bridge, SpacebrewYun and Temboo 2013-10-21 10:13:31 +02:00
Federico Fissore
b4c68b3dff Run new astyle formatter against all the examples 2013-10-21 09:58:40 +02:00
Federico Fissore
fdf10eb663 Better parametric Bridge.begin() 2013-10-18 09:31:07 +02:00
Cristian Maglie
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
Federico Fissore
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
Cristian Maglie
e8834d32f3 Servo library refactoring. See #1617 2013-10-15 09:41:42 +02:00
Fede85
cb7b62f43e added the support to the new display GREENTAB_L 2013-10-14 17:23:39 +02:00
Fede85
034cb91737 Merge remote-tracking branch 'origin/ide-1.5.x' into ide-1.5.x 2013-10-14 17:19:48 +02:00
Federico Fissore
bef7b94ea7 merge 2013-10-14 12:42:42 +02:00
Fede85
02550de1e9 Merge remote-tracking branch 'origin/ide-1.5.x' into ide-1.5.x 2013-10-10 20:59:01 +02:00
Federico Fissore
6732677500 Merge pull request #1383 from bjelojac/patch-1
Fix for #814, Memory Leak
2013-10-09 08:42:12 -07:00
Kristian Sloth Lauszus
b3a1c8424d Removed incorrect readme 2013-10-03 20:33:19 +02:00
Federico Fissore
ddcb89e1fa Removed wrong executable flag on many files 2013-09-27 18:18:51 +02:00
Federico Fissore
df7e5aef74 Missing YunServer and YunClient keyword highlight 2013-09-27 16:16:37 +02:00
Cristian Maglie
92a67209ed Merge branch 'eth-fix' into ide-1.5.x
Conflicts:
	build/shared/revisions.txt
2013-09-25 10:37:07 +02:00
Cristian Maglie
b0dc317422 Fix in sam SPI library initialization when using multiple CS (extended API).
http://forum.arduino.cc/index.php?topic=189682.0
2013-09-24 21:34:14 +02:00
Cristian Maglie
88def54082 Fixed wrong behaviour of EthernetClient::flush().
Fixes #1576
2013-09-23 15:46:51 +02:00
Cristian Maglie
db640e08cd Ethernet: removed useless casts in avr/w5100 class 2013-09-22 15:35:38 +02:00
Cristian Maglie
ca90bf75cb Bridge: Increased timeout when receiving "lenght" field.
Fixes a weird timing issue:
http://forum.arduino.cc/index.php?topic=188955.0
2013-09-21 23:47:37 +02:00
Cristian Maglie
43477bd9d6 Merge pull request #1583 from cow77/ide-1.5.x
Makes it possible to link Bridge to another linux-system.
2013-09-21 12:01:45 -07:00
cow77
b0941ad5c9 Makes it possible to link to another linux-system, not running with
250000 (not Yun, but f.i. an Arduino mega2560 with a modified/expanded
WR703N).

The default could stay at 250000 (Yun).
2013-09-20 17:09:44 +02:00
Cristian Maglie
be936dd590 Fixed buffer overflow in File::doBuffer() (dreggy)
Fixes #1580
2013-09-19 16:22:12 +02:00
Fede85
a31857688b Wire library to the 1.5 format 2013-09-10 18:50:42 +02:00
Fede85
876211ae8d RobotIRremote library to the new format 2013-09-10 17:30:58 +02:00
Fede85
3a4695fd09 Robot_Motor library to the 1.5 format 2013-09-10 17:21:47 +02:00
Fede85
a9cba03922 Robot_Control library to the 1.5 fromat 2013-09-10 16:46:33 +02:00
Fede85
95d5b1e9ff updated the library.properties files for Temboo e Spacebrew libraries 2013-09-10 11:15:08 +02:00
Federico Fissore
65f0819b05 reviewed Bridge example headers 2013-09-10 10:23:29 +02:00
Federico Fissore
3e2008dfcc updated Bridge examples headers 2013-09-09 20:56:15 +02:00
Phillip Burgess
4cbd435163 Latest Adafruit_GFX fixes + moved GFX lib to utility folder
Updated constructor and dependent code, other minor fixes. Robot LCD
examples all compile, but not yet tested against actual hardware.
2013-09-09 19:47:25 +02:00
Justin Paulin
5ddbab3693 Fixed a typo in the WebServer example. 2013-09-09 19:47:24 +02:00
Fede85
15fd2d1158 Added the header to the Bridge.ino example
Removed Serial.begin(), there are no serial prints in the sketch.
2013-09-09 13:37:40 +02:00
Fede85
c35d4dc131 SpacebrewYun library to the 1.5 format 2013-09-06 18:25:03 +02:00
Fede85
fa22bc358e Temboo library to the 1.5 format 2013-09-06 18:15:14 +02:00
Fede85
81338e245b Bridge library to the 1.5 format 2013-09-06 15:38:07 +02:00
Fede85
b5ba1617f7 Latest Adafruit_GFX fixes
Updated constructor and dependent code, other minor fixes.
2013-09-06 12:39:15 +02:00
Phillip Burgess
a06ccb7f1c Latest Adafruit_GFX fixes + moved GFX lib to utility folder
Updated constructor and dependent code, other minor fixes. Robot LCD
examples all compile, but not yet tested against actual hardware.
2013-09-03 11:44:08 -07:00
Cristian Maglie
2ebd47ab53 [sam] fixed SPI initialization
Fixes #1561
2013-09-03 14:50:54 +02:00
Cristian Maglie
0f0d5fe01e Merge pull request #1526 from interwho/master
Fixed a typo in the WebServer example.
2013-09-02 06:14:18 -07:00