David A. Mellis
c649777277
Fixing Server.available().
...
I got rid of the parameterless version of the Client() constructor, so I need to pass in MAX_SOCK_NUM.
2010-08-03 17:25:11 +00:00
David A. Mellis
1e0f968387
Setting SS high by default.
...
This should prevent conflicts between an SPI device using the hardware SS pin (which previously would have been enabled by default) and another SPI device using another pin for its SS. It might be better to move the SPI initialization to begin(), which could then be called by the hardware devices which could then disable themselves.
2010-08-03 16:13:44 +00:00
David A. Mellis
e4b255acb9
Removing the _connected field from Client since we don't use it anymore.
2010-08-03 14:23:29 +00:00
David A. Mellis
a642f0a15d
Fixing Client and capitalizing header file names.
...
The switch from checking _sock against a default value, combined with the checking for unconnected clients in status(), broke the Client. I went back to checking the value of _sock against the default and removed the _connected member altogether because it was redundant (and therefore needed to be kept in sync with _sock).
2010-08-03 13:36:47 +00:00
David A. Mellis
eb47701c9f
Fixing ethernet library on Mega.
...
Because the Mega uses a different pin for SS of the W5100, the SPI library wasn't setting it as an output. It was only setting the hardware SS pin of the ATmega1280, which is elsewhere on the board. Adding initSS() to W5100.init() fixed it.
2010-08-03 13:02:02 +00:00
David A. Mellis
f5bb3ab541
Return sensible values from Client::connected() and Client::status() if we know it's not connected.
2010-08-03 00:42:23 +00:00
Tom Igoe
f6575c64df
Added Barometric pressure Web Server example for Ethernet library
2010-08-02 22:56:31 +00:00
Tom Igoe
e1ba91a881
Added Barometric pressure sensor example for SPI library
2010-08-02 22:43:05 +00:00
Tom Igoe
98cb2e4ce3
Added WProgram.h include to Client.h to allow it to inherit all of WString.h correctly. See issue #310 for details.
2010-08-02 22:38:42 +00:00
David A. Mellis
0aec45afbc
Moving SPI pin definitions into core (from SPI library): SS, MISO, MOSI, and SCK.
2010-08-02 22:33:11 +00:00
David A. Mellis
94045e292a
changing available() to return an int (because the Ethernet Client class or another stream might need more than 255 bytes).
2010-08-02 22:23:48 +00:00
David A. Mellis
258a286e8c
Adding #include <WProgram.h>.
2010-08-02 22:22:51 +00:00
David A. Mellis
68ef2bcd56
Nothing SPI and Ethernet updates in revisions.txt.
2010-08-02 19:07:30 +00:00
David A. Mellis
e24b135755
Adding SPI library and revising Ethernet library (Christian Maglie).
2010-08-02 18:59:44 +00:00
David A. Mellis
78e093b482
Moving line endings selection combo-box.
2010-08-02 18:11:49 +00:00
Tom Igoe
77d5919b6d
Corrected comments in String examples.
2010-08-01 16:19:08 +00:00
Tom Igoe
80095dc092
Eliminated whitespace from the end of String examples.
2010-08-01 14:29:01 +00:00
Tom Igoe
5d97e9ef99
Added String length() example.
2010-08-01 14:18:31 +00:00
Tom Igoe
81e7814887
added more String examples
2010-07-27 22:59:18 +00:00
Tom Igoe
4df6fde6b5
Added String keyword
2010-07-27 21:29:58 +00:00
Tom Igoe
570454f178
Added equals() to comparison operator example
2010-07-27 20:09:37 +00:00
Tom Igoe
8a21cd9e9e
Added compareTo() to comparison operator example
2010-07-27 20:02:29 +00:00
Tom Igoe
dce397c5a4
Removed unfinished example
2010-07-27 19:06:00 +00:00
Tom Igoe
bc2c88789f
Added core String library examples
2010-07-27 19:03:52 +00:00
David A. Mellis
4e33e6cb9f
Reverting changes to String class and modifying to allow + and += to work on more types.
2010-07-27 14:20:56 +00:00
Tom Igoe
cd4c0e56e2
removed append() from String library
2010-07-27 10:18:04 +00:00
Tom Igoe
b78768f761
checked in Xiaoyang Feng's changes to String library
2010-07-27 10:09:09 +00:00
Tom Igoe
27b3254e99
Checked in Xiaoyang's changes to String library
2010-07-27 10:06:49 +00:00
Tom Igoe
8fcb098533
Checked in Xiaoyang's changes to String library
2010-07-27 10:06:43 +00:00
Tom Igoe
95336c0f79
removed Snippets folder, now redundant
2010-07-27 02:29:25 +00:00
Tom Igoe
7da6084c91
renamed examples folders
2010-07-27 02:28:07 +00:00
Tom Igoe
8abab1bf75
renamed Examples/Digital directory
2010-07-27 02:24:28 +00:00
Tom Igoe
0ba81c3f34
Removed misnamed directory
2010-07-27 02:17:25 +00:00
Tom Igoe
aa6a81cf31
Adding Basics folder for examples, for beginners
2010-07-26 23:03:34 +00:00
Tom Igoe
a97a83cdc4
Adding Basics folder for examples, for beginners
2010-07-26 23:03:17 +00:00
Tom Igoe
a7967bdfef
Adding Basics folder for examples, for beginners
2010-07-26 23:02:52 +00:00
Tom Igoe
8520e23483
Adding Basics folder for examples, for beginners
2010-07-26 23:02:46 +00:00
Tom Igoe
7797173d7e
Adding Basics folder for examples, for beginners
2010-07-26 23:02:40 +00:00
Tom Igoe
4f0aaed544
Adding Basics folder for examples, for beginners
2010-07-26 23:02:30 +00:00
Tom Igoe
828d6301f7
Adding Basics folder for examples, for beginners
2010-07-26 23:02:19 +00:00
Tom Igoe
e98847d3c1
Adding Basics folder for examples, for beginners
2010-07-26 22:58:46 +00:00
Tom Igoe
0f46232b26
Added comments and serial output to ChatServer example
2010-07-25 16:38:42 +00:00
Tom Igoe
92f193d66d
Added comments to WebClient example
2010-07-25 16:28:30 +00:00
Tom Igoe
19e73b18a7
Added comments to WebServer example
2010-07-25 16:27:38 +00:00
Tom Igoe
ee4d22e832
Added comments to WebClient example
2010-07-25 16:18:52 +00:00
Tom Igoe
c3f167127d
Added Twitter client to Ethernet Library examples
2010-07-25 15:53:09 +00:00
Tom Igoe
be0be3ade6
Added Pachube client to Ethernet Library examples
2010-07-25 15:52:43 +00:00
David A. Mellis
6f96ce0df2
Adding drop-down for selecting line ending to serial monitor (issue #119 ). Also switching subpanes from BorderLayout to BoxLayout.
2010-07-11 15:31:34 +00:00
David A. Mellis
03a62f38d2
Allowing third-party hardware platforms to reference programmers defined in other platforms (issue #283 ).
2010-07-10 21:29:32 +00:00
David A. Mellis
52e0e1a999
INTERNAL -> INTERNAL1V1 AND INTERNAL2V56 on the Mega (issue #194 ).
2010-07-10 21:07:51 +00:00