Commit Graph

2083 Commits

Author SHA1 Message Date
David A. Mellis f32ff0022e Merge branch 's17n' 2012-08-30 09:43:55 -04:00
David A. Mellis a374e8b766 Changing setting of the UMSELn bits (for UART mode) and serial config values.
Before, the UMSELn1 bit was being to set to 1, putting the UART into a reserved mode. Now, we only set the high (0x80) bit to 1 for the ATmega8, which is needed to access UCSRnC (whose i/o address is shared with UBRRH).

Also, no longer bitwise-or the new config with the existing register value, because we're actually configuring all the settings in the register. (We're not using UCPOL, but it's supposed to be 0 in asynchronous mode.)
2012-08-30 08:47:35 -04:00
David A. Mellis ae9b90603b Renaming serial config constants to, e.g., SERIAL_8N1. 2012-08-30 08:21:12 -04:00
David A. Mellis a72d05b2de Merge pull request #109 from Alarus/master
Serial.begin() parameter to set data bits, parity, stop bits.
2012-08-30 05:08:28 -07:00
David A. Mellis cd43ca3f7f Fixing Serial.flush() breakage on Leonardo (WestFW).
http://code.google.com/p/arduino/issues/detail?id=1020
2012-08-30 07:44:25 -04:00
David A. Mellis 24c8bf8081 Fixing ATmega8 breakage from flush() change. (WestFW)
http://code.google.com/p/arduino/issues/detail?id=1019
2012-08-29 20:52:30 -04:00
s17t.net 2ca5d3e056 - Moved code guessing current keyword in its function
- Find-in-reference disabled in right-click popup menu unless
appropriate text is selected (#1014)
2012-08-30 00:30:33 +02:00
David A. Mellis 222d51e383 Adding overloads so Serial.write(0) works.
http://code.google.com/p/arduino/issues/detail?id=1006
2012-08-29 16:32:05 -04:00
David A. Mellis f9f1d3af3c Serial.flush() waits for last character to be transmitted (michele.mazzucchi)
http://code.google.com/p/arduino/issues/detail?id=871
2012-08-28 08:02:54 -04:00
David A. Mellis b7fc69aa9f Only exclude build/windows and build/macosx, not the app/ ones.
http://code.google.com/p/arduino/issues/detail?id=1011
2012-08-23 11:16:26 -04:00
David A. Mellis 127cbf5da5 Merge branch 's17n' 2012-08-23 10:54:59 -04:00
David A. Mellis 0a0b573d7c Removing import of deleted objectutil class. 2012-08-23 10:54:24 -04:00
s17t.net 36b643d79f Removed objectutil. 2012-08-23 08:33:33 +02:00
s17t.net 4a09287c45 The 'find in reference' will look for current token and open
respective doc page if exists.
2012-08-23 08:32:22 +02:00
David A. Mellis bc79a998e9 Merge pull request #110 from WizenedEE/master
Add const qualifier in F() macro.

http://code.google.com/p/arduino/issues/detail?id=866
2012-08-21 06:59:34 -07:00
s17t.net 1691367fd9 Remove unused status notice message. 2012-08-20 00:13:55 +02:00
s17t.net ab2d83fc80 Index reference page is shown when no text selected if clicking 'Find in
reference' command.
2012-08-20 00:08:17 +02:00
s17t.net 8a1cf335ad Introduce ObjectUtils class 2012-08-20 00:05:02 +02:00
s17t.net 355d40ae76 Added build/{windows,linux}/work to ignore. 2012-08-19 23:34:40 +02:00
Adam Dunlap e223f8eb9c Fix issue 866
Fix issue 866 by adding a const qualifier to what the F macro casts to.
2012-08-16 20:59:33 -07:00
Alarus 76850b1a0a Update hardware/arduino/cores/arduino/HardwareSerial.cpp
New Serial.begin(baud, config);
2012-08-14 19:55:13 +06:00
Alarus 39bdce82cf Update hardware/arduino/cores/arduino/HardwareSerial.h
New Serial.begin(baud, config);
2012-08-14 19:52:00 +06:00
Alarus 295337d9ba Update hardware/arduino/cores/arduino/HardwareSerial.cpp
New Serial.begin(baud, config);
2012-08-14 19:50:36 +06:00
Tom Igoe 36b5d52d4a Corrected link address in Midi example 2012-08-13 15:21:28 -04:00
Alarus 655ca80b29 Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 22:07:42 +06:00
Alarus 5a420c034e Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 21:35:48 +06:00
Alarus c8490c9f7b Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 20:57:57 +06:00
Alarus 0b44fb7f73 Update hardware/arduino/cores/arduino/HardwareSerial.h
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 20:23:00 +06:00
Alarus 5aa4dafe21 Update hardware/arduino/cores/arduino/HardwareSerial.h
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
2012-08-12 20:18:50 +06:00
Shigeru KANEMOTO f60f17f79a Avoid TIMER3 conflict with Servo and tone(). 2012-08-08 18:27:40 +09:00
Shigeru KANEMOTO 44556206a8 Fix for tone() on Leonardo. 2012-08-08 18:27:40 +09:00
David A. Mellis 409da1d9c7 Adding NSHighResolutionCapable to Mac Info.plist file.
Apparently this makes things look or work better on the new MacBook Pro w/ Retina display.

http://code.google.com/p/arduino/issues/detail?id=982
2012-08-07 16:46:57 -04:00
David A. Mellis d30bd83660 Don't generate prototypes for function that already have them. (Lars J. Nielsen)
This searches for prototypes by using the same regular expression used to search for functions definitions, but with "{}" replaced by ";".  Note that it requires the prototype to be formatted identically to the function definition (e.g. matching white-space).

http://code.google.com/p/arduino/issues/detail?id=973
2012-07-19 11:27:56 -04:00
David A. Mellis a01657b312 Removing leftover debugging code.
http://code.google.com/p/arduino/issues/detail?id=859
2012-07-19 10:42:39 -04:00
David A. Mellis 4e657ba5e2 Automatically create sketchbook libraries/ folder and readme (Paul Stoffregen and Limor Fried).
http://code.google.com/p/arduino/issues/detail?id=986
2012-07-19 10:03:39 -04:00
David A. Mellis 9d21154ea2 Including String and Stream methods in local reference.
http://code.google.com/p/arduino/issues/detail?id=932
2012-07-15 09:34:59 -04:00
David A. Mellis d83543cff1 Use "wiring" (not "stk500v2") avrdude protocol for uploads to Mega 2560.
It performs the auto-reset in avrdude.  Otherwise, some uploads seem to fail (possibly because it takes too long to launch avrdude from the IDE, so there's too much of a delay between the auto-reset done by the IDE and the upload).

http://code.google.com/p/arduino/issues/detail?id=806
2012-07-15 09:12:08 -04:00
David A. Mellis e945d091c5 Don't require a space between #include and < or ".
The space isn't required by the compiler, but the preprocessor needed
one in order to use the #include to figure out which libraries the
sketch used.  That caused an error if you didn't have the space,
because the corresponding library wasn't linked.

http://code.google.com/p/arduino/issues/detail?id=975
2012-07-14 21:42:59 -04:00
David A. Mellis d903d81d60 Add more checks for end-of-file in auto-format code.
Otherwise, you tend to get out of memory errors caused by infinite
loops.

http://code.google.com/p/arduino/issues/detail?id=859
2012-07-14 21:22:20 -04:00
David A. Mellis 6030f9670b Don't break C++ style (//) comments during auto-format.
http://code.google.com/p/arduino/issues/detail?id=255
2012-07-14 20:53:20 -04:00
David A. Mellis 6036846ce3 Print "ovf" if float to be printed doesn't fit in a long.
http://code.google.com/p/arduino/issues/detail?id=967
2012-06-28 23:20:56 -04:00
David A. Mellis 1daeba6fd6 Don't translate space separating baud rate from "baud".
This prevents an error in which translations which omitted the space would cause an exception (because the code tries to split the string on space).

http://code.google.com/p/arduino/issues/detail?id=964
2012-06-24 12:45:26 -05:00
David A. Mellis 71a615c65d Print "inf" for infinite floating point numbers (using isinf()).
http://code.google.com/p/arduino/issues/detail?id=961
2012-06-23 10:37:35 -05: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 156c102c0d Updated ScanNetworks example to give network encryption types by name 2012-06-21 22:04:31 -04:00
Mimmo La Fauci 33bc35876a Commit binaries 2012-06-18 07:51:12 +02:00
Mimmo La Fauci 056895d1f9 Changed Handshake pin to 7. Add some spi stats 2012-06-18 07:44:30 +02:00
Mimmo La Fauci 2ceb5a07bd Changed Handshake pin to 7. Add some spi stats 2012-06-18 07:44:30 +02:00
Mimmo La Fauci bdc4d0ab22 Fix issue on SPI RDRF 2012-06-16 19:05:42 +02:00
David A. Mellis 4b25cc2097 Removing local xcode files. 2012-06-14 15:58:30 +01:00