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

873 Commits

Author SHA1 Message Date
David A. Mellis
f62126f370 Updating revisions. 2010-08-10 01:44:10 +00:00
David A. Mellis
c5e8c3e4bd Toggling RTS as well as DTR for auto-reset. 2010-08-10 01:32:28 +00:00
David A. Mellis
9a810880da Updating revisions. 2010-08-10 01:05:21 +00:00
David A. Mellis
b89d8a9c11 Moving SPI pin initialization from constructor to begin() function. That way, the SPI library won't alter any pin states unless / until you call begin(). 2010-08-07 21:24:49 +00:00
David A. Mellis
08feacbb40 Renaming SPI constants to better match general style. Renaming setDataOrder() to setBitOrder(), and using existing LSBFIRST and MSBFIRST constants for it. 2010-08-07 20:33:18 +00:00
David A. Mellis
3899ffc75d Renaming SPI.send() to SPI.transfer() to better reflect its bi-directional nature. 2010-08-07 20:08:53 +00:00
David A. Mellis
05e8d675cd Adding Arduino BT w/ ATmega328 to the boards menu. 2010-08-07 19:56:14 +00:00
David A. Mellis
3524387e70 Adding ATmega328 version of the Arduino BT bootloader, along with a Makefile for building it. 2010-08-07 19:48:59 +00:00
David A. Mellis
367a0ae9f4 Updating Firmata (to r62 of their repository).
Changes include (according to Paul Stoffregen):
"1: Hardware abstraction layer to support Arduino Mega, Teensy and Sanguino.
2: Extended analog message, to facilitate using PWM and Servo above pin 15.
3: Capability queries (alpha), to allow automatic discovery of any board's features."
2010-08-06 21:55:17 +00:00
David A. Mellis
17beb9fcfb Using SPI pin definitions in pins_arduino.h for ArduinoISP sketch (now works on Mega). 2010-08-06 01:56:09 +00:00
David A. Mellis
e2fe4d0dfa No longer requiring WProgram.h for Print / Stream classes (replaced Arduino-specific type names in String). 2010-08-06 01:23:19 +00:00
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