1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-12 23:08:52 +01:00
Commit Graph

2292 Commits

Author SHA1 Message Date
David A. Mellis
532a46a74b Moving ATmega32U4 Timer 2 #undef's to Leonardo pins_arduino.h file. 2012-09-13 09:19:52 -04:00
David A. Mellis
47714c3d2c Merge pull request #102 from sgk/leonardoTone
Fix for tone() on Leonardo.
2012-09-13 06:07:10 -07:00
David A. Mellis
33883abd9c Merge branch 'master' of github.com:arduino/Arduino 2012-09-13 08:57:22 -04:00
Peter Van Hoyweghen
6ab2a9f95e Avoid serial buffer overrun on leonardo 2012-09-13 08:46:45 -04:00
Scott
72595f86c4 Modified pachube Ethernet Client String example and removed Cosm examples 2012-09-10 12:02:59 -04:00
David A. Mellis
e2b99206d8 Tweaks to post-upload touch for Leonardo upload.
Added a delay to avoid exceptions when touching the serial port. Only printing the debug message in verbose mode.
2012-09-09 18:32:16 -04:00
Peter Van Hoyweghen
5fa8cd4130 Leonardo: after burning a sketch, remove the magic baud rate (1200bps) to avoid future unwanted board resets 2012-09-09 17:59:09 -04:00
Scott
0b0566054e Renamed Cosm examples to Pachube 2012-09-08 15:49:37 -04:00
Fede85
dfaa31bc57 removed /doc directory 2012-08-31 18:43:42 +02:00
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