Iván Pérez
e3fae38c41
Declare paths parameters as constant
...
This way we will avoid some warnings when using paths as constants in
#define's
`warning: deprecated conversion from string constant to 'char*'`
2015-10-19 15:55:08 +02:00
Federico Fissore
46cb5f0a5c
Removing useless includes from examples
2015-10-02 12:24:31 +02:00
Arturo Guadalupi
9eaea4205d
Modified reference to Leonardo only in the examples
...
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples.
Changed in in "wait for serial port to connect. Needed for native USB port only"
2015-09-21 14:58:58 +02:00
Federico Fissore
5e98cd8528
Examples: mass code format. See example_formatter.conf
2015-07-06 15:19:05 +02:00
Cristian Maglie
954f59d9ce
Bridge: Fixed File "duplicate definitions" when using SD and Bridge libraries together
...
The two File classes have been enclosed into different namespaces.
To guarantee compatibility with old sketches that uses only one of the two
libraries an additional line:
using namespace xxxxx;
has been added so the users can still use "File" where there is no ambiguity.
BridgeLib::File and SDLib::File classes have been also aliased to BridgeFile
and SDFile respectively, users are encouraged to use that instead of File.
2015-06-30 11:49:53 +02:00
Federico Fissore
309e7892fd
SD: releasing version 1.0.5
2015-06-10 15:01:02 +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
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
Federico Fissore
5519f15663
Libraries: added help files to mitigate missing contextual reference issue
2015-04-23 17:19:15 +02:00
Federico Fissore
0b4b76fa67
Bundled libraries update
2015-04-23 13:01:30 +02:00
Arturo Guadalupi
9eb2bac42e
First licenses review
2015-04-23 12:53:30 +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
0c01e66402
License fix
2015-04-09 17:22:46 +02:00
Federico Fissore
25a6d3df46
Lib: SD version bump
2015-04-02 14:24:53 +02:00
Ing. Jan Kaláb
f34dc938f6
Typos
2015-04-01 19:43:32 +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
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
Federico Fissore
0ae9e3a0d0
Libraries: added missing properties
2015-02-25 11:20:40 +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
PaulStoffregen
c0bc2d22f6
Fix SPI transaction mismatch errors
2014-11-20 18:54:04 -08:00
PaulStoffregen
f7a565de1a
Use SPI transactions and SPISettings in SD library
2014-08-01 12:19:51 -07:00
Fede85
b02e85ceb2
modified sentences in library.properties files
2014-07-18 19:41:34 +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
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
Cristian Maglie
76ded605ff
Updated all library.properties to 1.5 rev2 lib format
2014-02-18 22:32:24 +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
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
4869f7f979
Updated listfiles SD example
...
Updated description of the file
2013-11-11 16:19:48 +04:00
Federico Fissore
b4c68b3dff
Run new astyle formatter against all the examples
2013-10-21 09:58:40 +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
Federico Fissore
bef7b94ea7
merge
2013-10-14 12:42:42 +02:00
Cristian Maglie
07d9d558b5
Updated libraries metadata
2013-08-08 16:40:55 +02:00
Fede85
b28104b795
Audio library to the new format
2013-06-27 19:15:53 +02:00
Fede85
9454816162
Ethernet, SD and LiquidCrystal to the new library format
2013-06-26 19:13:04 +02:00
bjelojac
2aee42a12c
Fix for #814 , Memory Leak
...
File isn't closed before being released, it leaks. This test has been verified and tested many times.
2013-04-25 13:46:43 -05:00
Federico Fissore
730f81e8ba
fixes #832
2012-12-20 16:28:09 +01:00
Federico Fissore
9ef43accbc
fixes #832
2012-12-20 16:26:46 +01:00
Cristian Maglie
e0f967951f
Fixed SD examples. (added include for SPI lib)
2012-09-25 18:29:19 +02:00
Cristian Maglie
11c0555dcc
SD Card ported and tested
2012-09-24 19:00:56 +02:00
Cristian Maglie
1e221116f3
Moved SD lib into root libraries folder
2012-09-24 12:42:23 +02:00
David A. Mellis
34b265ed4c
Fixing SD card SPI pin mapping for Leonardo.
...
http://code.google.com/p/arduino/issues/detail?id=931
2012-06-22 11:28:16 -05:00
Tom Igoe
6f93d3fc17
Updated all comments for while (!Serial) additions to serial-based examples
2012-04-09 10:48:40 -04:00