David A. Mellis
e3856766c6
Creating a custom error message for missing SPI.h (because we changed the Ethernet library to rely on it). issue #337
2010-08-28 09:33:37 +00:00
David A. Mellis
a48d96ee49
Adding some basic error checking to the String class (i.e. checking for a non-null buffer before modifying its contents).
2010-08-18 21:39:28 +00:00
David A. Mellis
5ede40be13
Now including stdlib.h from wiring.h so our abs() #define comes after the stdlib abs() definition (and therefore doesn't break it).
2010-08-17 21:50:41 +00:00
David A. Mellis
ce3f65a161
Correcting case of #include's in Ethernet library.
2010-08-17 20:37:17 +00:00
David A. Mellis
e131b36894
Adding version number to Mac Info.plist so it appears in the finder.
2010-08-15 20:11:02 +00:00
David A. Mellis
bc8e5c3dcf
Updating / reverting to the previous / future Processing new window behavior: toolbar opens things in the existing window, menus in a new window.
2010-08-15 19:12:00 +00:00
Tom Igoe
5fb0b62e7c
Corrections to Basics examples
2010-08-15 14:30:43 +00:00
Tom Igoe
02eed8071b
Corrections to Basics examples
2010-08-15 14:30:34 +00:00
Tom Igoe
d58ea9b378
Modified Barometric Pressure Sensor to make it easier for beginners to understand.
2010-08-15 13:32:38 +00:00
Tom Igoe
aab8563d1e
Modified Barometric Pressure Sensor to make it easier for beginners to understand.
2010-08-15 13:17:05 +00:00
Tom Igoe
00989e9778
Modified Barometric Pressure Sensor to make it easier for beginners to understand.
2010-08-15 13:14:58 +00:00
Tom Igoe
26cbbc8bda
Corrected title of ChatServer example
2010-08-13 16:13:46 +00:00
Tom Igoe
e4989390c1
Commented the changing board pin numbers.
2010-08-13 02:47:18 +00:00
Tom Igoe
ecb26ec6dc
Changed slaveSelectPin to a const int rather than hard coded number.
2010-08-13 02:45:20 +00:00
David A. Mellis
645d9cac85
Chmod'ing executables in the Mac dist .dmg (thanks to j.e.t.)
2010-08-12 22:29:15 +00:00
Tom Igoe
01e4b83f30
Added PachubeClientString to address issue #289
2010-08-12 13:44:46 +00:00
David A. Mellis
134955720f
Updating reference and reference fetching script.
2010-08-11 23:18:17 +00:00
David A. Mellis
57e2c152f1
Adding shiftIn() from Wiring (no count or delaytime though).
2010-08-11 22:59:00 +00:00
Tom Igoe
cbc52cbe3c
added example page URLS to String examples
2010-08-11 21:56:28 +00:00
Tom Igoe
564fd29edd
Corrected formatting errors in String examples
2010-08-11 20:27:28 +00:00
Tom Igoe
50b05cb3cc
Corrected formatting errors in String examples
2010-08-11 20:26:17 +00:00
Tom Igoe
691e9cab36
Corrected formatting errors in String examples
2010-08-11 20:26:10 +00:00
Tom Igoe
c6a73fa803
Corrected formatting errors in String examples
2010-08-11 20:24:10 +00:00
David A. Mellis
54d367b1e0
Making Client inherit from Stream, which unforunately means taking peek() out of Stream for now, since there's no immediate implementation for Client.
2010-08-11 18:19:01 +00:00
Tom Igoe
7bac64c4ac
Added AD5206 Digital Potentiometer example to SPI library
2010-08-10 21:42:26 +00:00
Tom Igoe
fb5eb1f3fd
Corrected error in variable declaration for example StringLength
2010-08-10 19:33:52 +00:00
Tom Igoe
0ecc7b031e
Added a notification to the chat client example when the client connects for the first time
2010-08-10 15:21:00 +00:00
David A. Mellis
b7be90d5ec
Updating Firmata version number to 2.2 (issue #320 ).
2010-08-10 01:51:38 +00:00
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