ekozlenko
caf000b005
Fixed unsigned var and version note
2015-06-05 16:18:46 +02:00
ekozlenko
847816739f
Update stepper library: High-speed stepping mod and timer rollover fix
...
When using the stepper library with a 1.8 degrees per step motor, and at high angular speeds, the current Stepper library leads to really loud and jittery rotation. This is due to the fact that the timing is calculated in milliseconds, and the delay length between steps is only 2.5 milliseconds when trying to spin at 120 rpm. Since only integer math is performed, you end up actually bouncing between different step delays, and thus speeds, from step to step instead of giving the motor a constant input. Which causes the motor to freak out.
Changing the library to calculate the step delays in micros() solves that problem for any speed you can reasonably demand from your stepper motor. The down side is that the micros() counter rolls over every hour or so, and any move you perform after that point will hang your code. Easy fix for that is to add an || micros() - this->last_step_time < 0 to the while loop if statement in Stepper.cpp.
2015-06-05 16:18:46 +02:00
Arturo Guadalupi
8a54c70a94
Added literal float to improve precision
...
according to #2922 I added missing float literals to improve the accuracy of the result.
If sensorValue = 1:
Before: voltage = 4
Now: voltage = 4.88
2015-06-05 12:29:50 +02:00
Arturo Guadalupi
394bab072c
Merge pull request #3036 from damellis/tft-spi-transactions
...
Add SPI transactions to TFT library.
2015-05-29 12:45:27 +02:00
Matthias Hertel
a9cdd44d27
Optimizations: remove multiple calls to the status() function.
2015-05-28 11:00:23 +02:00
Martino Facchin
29e253495d
Merge pull request #3193 from Chris--A/SD_Strings
...
Added String handling to SD class
2015-05-28 10:48:37 +02:00
Federico Fissore
9166828bfe
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
Chris--A
36f320b6d5
Added String handling to SD class
2015-05-20 22:02:09 +10:00
Ish Gupta
c3d3016049
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
fe52e7f04f
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
f118dee688
Bridge: default baudrate is specified with BRIDGE_BAUDRATE. Fixes #2904
2015-04-30 16:32:32 +02:00
squelched
1c25d2432f
SD: allow multiple SD instances
...
The SDClass class makes a reference to "SD.card" instead of just "card". SD is a global instance of SDClass.
This prevents any other instance of SDClass from functioning correctly.
The fix also allows SDClass to be used with an SD card which is removed and replaced, whereas previously, using the global instance SD did not allow this due to the limitation of begin() which cannot be called more than once.
2015-04-27 11:53:02 +02:00
David A. Mellis
0c7f9234df
Add SPI transactions to TFT library.
2015-04-26 17:28:19 -04:00
Federico Fissore
5519f15663
Libraries: added help files to mitigate missing contextual reference issue
2015-04-23 17:19:15 +02:00
Federico Fissore
e720bb058d
Audio and Servo library version bump
2015-04-23 13:28:17 +02:00
Federico Fissore
0b4b76fa67
Bundled libraries update
2015-04-23 13:01:30 +02:00
Arturo Guadalupi
f76087cd10
Update Firmata.h
2015-04-23 12:53:30 +02:00
Arturo Guadalupi
42f62fc3e5
Update README.adoc
2015-04-23 12:53:30 +02:00
Enrico Gueli
38ccd55399
added license on TFT library
2015-04-23 12:53:30 +02:00
Arturo Guadalupi
5bfdbe853c
minor changes
2015-04-23 12:53:30 +02:00
Arturo Guadalupi
9eb2bac42e
First licenses review
2015-04-23 12:53:30 +02:00
Federico Fissore
8b0fcbe281
Temboo: updated bundled library
2015-04-23 12:45:31 +02:00
Federico Fissore
ea9a7a11c7
Converted Robot_Control files to unix format for better git diffs
2015-04-22 16:40:00 +02:00
Martino Facchin
d72bc63d6e
Merge pull request #2974 from facchinm/test_2659_2
...
SD: remove any reference to pinMode(10, OUTPUT) in the examples
2015-04-15 08:57:32 +01:00
Martino Facchin
d3a6c37980
increase version number
2015-04-15 09:55:37 +02:00
Martino Facchin
a57d390499
SD: remove any reference to pinMode(10, OUTPUT) in the examples
...
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868
current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
Arturo Guadalupi
d7c32eefa1
License fix to audio library
2015-04-09 18:18:24 +02:00
Arturo Guadalupi
0c01e66402
License fix
2015-04-09 17:22:46 +02:00
Federico Fissore
ae6a5d887d
Lib: WiFi version bump
2015-04-02 14:32:50 +02:00
Federico Fissore
a6d1d9537c
Lib: Temboo version bump
2015-04-02 14:28:07 +02:00
Federico Fissore
25a6d3df46
Lib: SD version bump
2015-04-02 14:24:53 +02:00
Federico Fissore
e85fe911a0
Lib: GSM version bump
2015-04-02 14:20:05 +02:00
Federico Fissore
18eafd0ed7
Lib: esplora version bump
2015-04-02 14:14:45 +02:00
Martino Facchin
8b019650d5
Merge pull request #2848 from facchinm/testBridgePut
...
Bridge: fix transfers which ignored host response
2015-04-02 11:03:31 +01:00
Ing. Jan Kaláb
f34dc938f6
Typos
2015-04-01 19:43:32 +02:00
Arturo Guadalupi
501333a8ef
new theme
2015-04-01 16:11:59 +02:00
Martino Facchin
d6f9a6703c
Bridge: increase version number
2015-03-31 09:30:51 +02:00
Martino Facchin
45ff4f60b3
Bridge: fix transfers which ignored host response
...
Bridge.put() was broken by #2781 because it used transfer() 2-parameters overloaded version, which imply that rxlen == 0.
But the Linux Bridge responded, so the check (i >= rxlen) was true and the function timed out after retrying 50 times.
Every bridge command (python side) has been checked and now SHOULD strictly follow this rule and never ignore silently the received data
2015-03-30 15:56:06 +02:00
Federico Fissore
f7106ecc65
Libraries: version now compliant with semver. See http://semver.org/
2015-03-27 15:01:49 +01:00
Martino Facchin
ae8549cfcb
update revisions.txt and fix comments in Esplora library
2015-03-26 17:23:00 +01:00
Martino Facchin
a6be90f983
SD: avoid timeout lock if millis() approaches 2^16
...
this is a rework of @Timmmm 's PR #1977
2015-03-23 15:28:19 +01:00
Martino Facchin
22bd9f69a2
Ethernet: fix include files path
2015-03-20 15:28:50 +01:00
arve0
ff48ee4c5b
do not trust received msg length to read forever
2015-03-16 21:23:01 +01:00
Federico Fissore
eecc9ea132
TemperatureWebPanel.ino: added missing semicolons
2015-03-12 09:11:32 +01:00
Iván
e02689e70e
Print "Yún" and not "Y�n"; "degrees C" to "ºC"
...
Hi, just got a Yún few days ago and noticed that when testing stuff, just cosmetic.
Thanks.
2015-03-02 23:27:55 +01:00
sngl
b1b83c0989
Updated YunClient::connect method'
...
Now it stop the connection on the linux side when it fails
2015-02-27 11:08:29 +01:00
Federico Fissore
0ae9e3a0d0
Libraries: added missing properties
2015-02-25 11:20:40 +01:00
Federico Fissore
c0122d1068
Merge pull request #2618 from ffissore/fix-ethernetclient-boolean-comparison
...
EthernetClient == and != operators
2015-02-23 08:44:38 +01:00
Federico Fissore
0b6e274b5d
Bridge.ino example: comment fixed
2015-02-19 18:08:15 +01:00
Moredread
256f39b4d8
Fix spelling in YunSerialTerminal
2015-02-14 19:00:15 +01:00
Federico Fissore
eb0c2c9baa
Added virtual bool operator==(const bool value) and virtual bool operator!=(const bool value).
...
Fixes #2611
Bug introduced with #1700
2015-02-13 17:29:36 +01:00
Cristian Maglie
e93be4855f
Corrected some email contacts.
2015-02-05 16:47:22 +01:00
Arturo Guadalupi
1f08b5ede4
Cherry picked fix from 87865ac19d
2015-01-22 17:04:59 +01:00
Arturo Guadalupi
ce412a0461
Added README.adoc for the library manager project
2015-01-16 17:14:02 +01:00
Cristian Maglie
6d7751cf5f
Fixed some libraries metadata.
2015-01-16 12:22:24 +01:00
Javier Zorzano
2b14a9349c
Align types: int to unsigned int
...
Block send SMS until finished operation.
GSM3IO.h. Keeps most of board-dependant pins
Flush buffer after GPRS detach
Delete some references to HardwareSerial.h
Include OFF modem status
2015-01-08 18:36:41 +01:00
PaulStoffregen
c0bc2d22f6
Fix SPI transaction mismatch errors
2014-11-20 18:54:04 -08:00
Federico Fissore
e52b4edd6f
Temboo: removing ControlBySMS and SendDataToMySQL examples, as per Temboo request
2014-11-12 17:55:54 +01:00
Cristian Maglie
8815806540
Added missing keyword in LiquidCrystal library
2014-11-07 19:24:12 +01:00
Cristian Maglie
b0d6f42755
Merge branch 'ide-1.5.x-lcd' of github.com:matthijskooijman/Arduino
2014-11-05 17:28:30 +01:00
Cristian Maglie
ca5e30a255
Fixed Robot_Control example R06_Wheel_Calibration
...
Fixes #2217
2014-11-05 15:18:50 +01:00
Cristian Maglie
b032f748f1
Ehternet: added packed attribute on DHCP message struct
2014-10-28 17:56:28 +01:00
Cristian Maglie
79fde3a636
Ethernet: fixed upcast of byte-pointer
2014-10-28 17:55:52 +01:00
sngl
622d837e38
Added close method to PImage
2014-10-13 15:09:16 +02:00
Cristian Maglie
2a912bab62
Merge branch 'master' into ide-1.5.x
...
Conflicts:
app/src/processing/app/Base.java
2014-10-10 00:14:22 +02:00
Cristian Maglie
afc368b01f
GSM: Backported library from IDE 1.5.x
...
Fixes #2343
2014-10-10 00:02:18 +02:00
JChristensen
c01172cd1b
Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535.
2014-10-05 22:41:39 -04:00
Federico Fissore
d002c3ee04
Fixed typos in MailboxReadMessage example
2014-10-02 15:32:18 +02:00
Fede85
f85a72847a
Ethernet: UdpNtpClient.ino now uses DNS to connect to the NTP server
2014-09-25 14:50:42 +02:00
Fede85
9a64c1bb1c
removed Xively and Cosm examples
2014-09-25 14:50:42 +02:00
Federico Fissore
98da28a3ce
Bridge: slowing down ConsoleRead a bit to keep the python side of the Bridge from consuming 100% of the CPU
2014-08-28 13:25:57 +02:00
Cristian Maglie
1824ba1d3b
Merge pull request #2223 from PaulStoffregen/ide-1.5.x
...
SPI Transactions
2014-08-08 12:59:51 +02:00
PaulStoffregen
f7a565de1a
Use SPI transactions and SPISettings in SD library
2014-08-01 12:19:51 -07:00
PaulStoffregen
a0f5a2ee4c
Use SPI transaction in Ethernet W5100 init
2014-08-01 11:52:09 -07:00
PaulStoffregen
8aaca2fbb6
Use SPI transactions in Ethernet library
2014-08-01 06:34:34 -07:00
PaulStoffregen
53924e9d58
Move Ethernet socket level stuff to utility/socket.cpp
2014-08-01 06:03:38 -07:00
Nick B-W
d80e774717
Updated Temboo library
2014-07-31 13:36:34 -07:00
Claudio Indellicati
7ce32946a9
Minor changes (libraries descriptions).
2014-07-30 12:32:45 +02:00
Cristian Maglie
e71bbf6011
Merge pull request #2195 from pmjdebruijn/duplicate-example
...
SPI: remove duplicate BarometricPressureSensor example
2014-07-24 14:53:48 +02:00
Cristian Maglie
fd94e184a5
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
2014-07-24 14:46:05 +02:00
Cristian Maglie
163b60ee29
Merge pull request #2206 from amulya349/master
...
Fix of a bug #2199
2014-07-24 14:40:52 +02:00
Cristian Maglie
8131af93dd
Fixed wrong return value in FileIO::size()
...
Fixes #2203
2014-07-24 12:19:13 +02:00
Amulya Kumar Sahoo
97dc72ce05
Fix of a spelling mistake
2014-07-23 01:17:31 +05:30
Fede85
878911c1d4
fixed some broken links in library.properties files
2014-07-21 18:42:27 +02:00
Cristian Maglie
6200ec2039
Merge pull request #2194 from Fede85/ide-1.5.x_lib-description
...
Ide 1.5.x lib description
2014-07-21 12:16:20 +02:00
Pascal de Bruijn
2c10bbe84c
SPI: remove duplicate BarometricPressureSensor example
2014-07-19 12:53:13 +02:00
Fede85
b02e85ceb2
modified sentences in library.properties files
2014-07-18 19:41:34 +02:00
Matt Robinson
569c75246d
Remove unused variable from ethernet socket utils
...
Remove the variable 'status' as this had a value assigned (from readSnSR),
but it was never used.
2014-07-17 16:49:10 +01:00
Federico Fissore
641ea440ff
Merge pull request #2170 from arduino/ide-1.5.x-httpclient-post
...
Added POST to HttpClient
2014-07-08 16:22:56 +02:00
Federico Fissore
d132bc9d2b
Bridge, TemperatureWebPanel example: mention that the REST API must be "open"
2014-07-08 09:34:22 +02:00
Federico Fissore
b3ff7a76d7
Bridge, TemperatureWebPanel example: mention that the example must be uploaded via wifi
2014-07-08 09:32:22 +02:00
Mark Jones
c7e5e7cbfe
Added POST to HttpClient
...
Added POST to HttpClient and also the ability to set a header (for API
Keys) for GET and POST.
2014-07-07 20:47:17 +02:00
Cristian Maglie
887d9be442
Robot_Control: Update PROGMEM for compatibily with newer gcc
2014-07-04 18:22:36 +02:00
Cristian Maglie
01e0a49c51
Merge pull request #2166 from cmaglie/tft_progmem_update
...
TFT: Update PROGMEM for compatibily with newer gcc
2014-07-04 17:36:34 +02:00
Cristian Maglie
1052dee790
TFT: Update PROGMEM for compatibily with newer gccutility/Adafruit_ST7735.cpp
2014-07-04 16:29:45 +02:00
Cristian Maglie
33b1e7c546
GSM: Updated PROGMEM compatibility with newer gcc
2014-07-04 12:00:54 +02:00
Ankit Daftery
f34787d100
Update HelloWorld.ino
...
Adding power connections, just to be thorough
2014-07-03 13:08:12 +05:30
Cristian Maglie
7f9e9b1cc2
Merge branch 'master' into HEAD
2014-06-13 10:29:12 +02:00
Amulya Kumar Sahoo
e6923526d3
Fixed error in comment
2014-06-07 18:05:04 +05:30
Federico Fissore
c387f87329
Corrected typos: Yun -> Yún
2014-05-30 12:17:09 +02:00
Cristian Maglie
74b853bf99
Improved YunSerialTerminal
...
Removing calls to Serial.available() adds more CPU time to better
handle a sustained 250kbps flow
2014-05-30 11:21:50 +02:00
Jens-Christian Skibakk
17e1eb5ef2
Fix idle level when initializing a inverted SoftwareSerial
...
Previously, when SoftwareSerial was initialized, it would always be set
to an idle level of HIGH, even when inverted logic was enabled. Once a
byte is transmitted, the idle level gets correctly set to LOW instead.
This commit makes sure that the idle level is correct directly after
initialization already.
This fixes #1361 .
2014-05-23 13:12:58 +02:00
Federico Fissore
61826901ae
Added [no]checkSSL method that sets an "insecure" boolean flag.
...
If insecure, "-k" parameter is added to curl and SSL certificates
are not checked
2014-05-21 11:15:09 +02:00
Federico Fissore
cdf70e501d
Adds parameter "-k" to every way of calling curl, hence allowing
...
calling https URLs without checking for the validity of SSL
certificates.
While this makes it a little insecure, nothing else can be done
while keeping the HTTPClient API simple: openwrt does not have a
SSL certificates bundle
Advanced users concerned about security should call "curl" on
their own using Process, supplying parameters such as "--cacert"
Fixes #1860
2014-05-21 09:47:49 +02:00
Manuel Rabade
c5010dde39
acording to the docs HttpClient::ready should return the inverse of Process::running()
2014-05-12 02:12:02 -05:00
Fede85
586e7a2959
added the MailboxReadMessage example for the Yun
2014-05-02 17:41:18 +02:00
Cristian Maglie
b673b72cfb
Merge branch 'ide-1.5.x-warnings' of github.com:matthijskooijman/Arduino into ide-1.5.x
2014-04-20 19:36:29 +02:00
Federico Fissore
d9d8f5057b
Spacebrew: library update
2014-04-17 12:44:36 +02:00
Cristian Maglie
ae1ef4750a
Merge branch 'master' into ide-1.5.x
2014-04-07 18:53:15 +02:00
Federico Fissore
b2500b3b85
Temboo: library and examples update
2014-04-03 19:56:46 +02:00
Federico Vanzati
4a10c1c5a8
Merge pull request #1907 from egueli/master
...
Esplora: added reading from Tinkerkit inputs
2014-04-02 11:50:37 +02:00
Federico Fissore
88ed5d53a6
Spacebrew update
2014-04-01 09:35:56 +02:00
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
Matthijs Kooijman
9552db3fe4
In LiquidCrystal, remove an unused variable
2013-12-18 13:09:48 +01:00
Matthijs Kooijman
8c6bcf0c84
In LiquidCrystal::begin(), use a define instead of a hardcoded 0
2013-12-18 13:09:48 +01:00
Matthijs Kooijman
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
Matthijs Kooijman
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
Matthijs Kooijman
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
Mark Sproul
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
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