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

1618 Commits

Author SHA1 Message Date
Federico Vanzati
200eefb4e2 Revert "added a short delay and comment to boolean operator in CDC"
This reverts commit ade4893f58.
2012-04-06 17:36:09 +02:00
Federico Vanzati
383ac95f3e Corretions and refinements to the String examples 2012-04-06 12:59:54 +02:00
Zach Eveland
ade4893f58 added a short delay and comment to boolean operator in CDC
Delay fixes problem where the port has been configured but not quite opened.  Federico found that 10 ms was the minimum time needed to avoid problems.
2012-04-03 10:52:38 -04:00
Zach Eveland
f66b83dd35 Revert "close SerialMonitor when port goes away suddenly (as when user presses Leonardo reset button)"
This reverts commit e9a00eb38f.
2012-04-03 09:20:47 -04:00
Tom Igoe
202bb102a0 Updated all serial in setup examples with a note about the serial check 2012-04-02 11:11:46 -04:00
Tom Igoe
a631e4f834 Added Serial port check to all examples using Serial statements in the setup 2012-04-02 09:07:58 -04:00
Zach Eveland
e9a00eb38f close SerialMonitor when port goes away suddenly (as when user presses Leonardo reset button) 2012-04-01 14:39:52 -04:00
Zach Eveland
ae5d5c0c00 modified StringSubstring example to add gating on port readiness 2012-04-01 12:59:00 -04:00
Zach Eveland
b685aef6ec added Boolean operators to HardwareSerial and CDC to test whether the port is ready to send data.
Mostly useful for Leonardo - simple way to test whether the port is actually opened by an application and ready to receive data.  For Serial objects attached to real UARTs always returns true.
2012-04-01 12:54:35 -04:00
David A. Mellis
232c7808be Custom error messages for use of Mouse and Keyboard on non-Leonardo boards. 2012-03-31 14:50:56 -04:00
Zach Eveland
8e176b0084 selectively suppress unwanted avrdude output for Leonardo when not verbose uploading is disabled 2012-03-30 22:24:40 -04:00
Zach Eveland
e90cb3650d tweaked verbosity level for avrdude on Leonardo uploads 2012-03-29 22:31:01 -04:00
Zach Eveland
a39aba5eff Merge branch 'master' of github.com:arduino/32U4 into LUFA_bootloader 2012-03-29 20:02:21 -04:00
Zach Eveland
61c5176681 only print Leonardo upload port hunting status if verbose uploading is selected. also cleaned up other verbose message handling for Leonardo upload progress. 2012-03-29 20:01:45 -04:00
Tom Igoe
76e551592a Deleted duplicate example 2012-03-29 15:20:53 -04:00
Tom Igoe
7c1b60191b Updated comments in keyboard reprogram 2012-03-29 12:04:22 -04:00
Tom Igoe
5627f14518 Fixed typo in the KeyboardReprogram example 2012-03-29 07:25:22 -04:00
Zach Eveland
97d9ce93ca fixed logic error in Keyboard.release() - now removes every occurrence of a key if it's present more than once 2012-03-28 19:46:32 -04:00
Zach Eveland
b86ec2723a removed horrible multi-key Keyboard.press() and Keyboard.release() methods
Saves 924 bytes of Flash
2012-03-28 18:46:10 -04:00
Zach Eveland
3d15f3781a eliminated Keyboard.type() - unnecessary duplication of Keyboard.write() (David Mellis). Also edit KeyboardReprogram example which was the only example using type() 2012-03-28 18:35:26 -04:00
Tom Igoe
57b3395691 Moved begin() in JoystickMouseControl example. 2012-03-28 14:40:44 -04:00
Tom Igoe
f4746a6b25 Added delay to KeyboardReprogram to make backspace more obvious 2012-03-28 12:24:17 -04:00
Tom Igoe
5fef2eee1c Added new Keyboard and mouse combined control 2012-03-27 15:01:07 -04:00
Tom Igoe
772f4ffa5f Updated USB examples to include Keyboard and mouse Begin. 2012-03-27 15:00:24 -04:00
Zach Eveland
259a2f18b3 added methods to Keyboard to handle multiple simultaneous key presses or releases (up to six each) 2012-03-26 17:28:02 -04:00
Zach Eveland
63fdb8ef7a Keyboard.type() now just presses and releases the key indicated - doesn't releaseAll() 2012-03-26 17:00:16 -04:00
Zach Eveland
2e140e4950 added stub methods for begin() and end() to Mouse and Keyboard 2012-03-26 16:02:40 -04:00
Zach Eveland
a0f1f1a930 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-03-24 09:30:17 -04:00
David A. Mellis
19f513b943 Updating comments in SoftwareSerial example. 2012-03-20 16:24:48 -04:00
Tom Igoe
87eaf2d0c5 Updated comments in softwareSerial example 2012-03-20 14:48:24 -04:00
Tom Igoe
da09e0c867 Updated Ethernet WebServer example to give more diagnostic info 2012-03-20 10:37:15 -04:00
Tom Igoe
a46facad70 Updated notes in digitalInputPullup 2012-03-19 19:45:11 -04:00
Tom Igoe
f5093b064a Renumbered examples 2012-03-19 19:44:06 -04:00
Tom Igoe
a165d87aa9 Changed text of KeyboardMessage to make it easier for international keyboards. 2012-03-19 12:02:48 -04:00
Tom Igoe
c9ded42197 Updated PachubeClientString and PachubeClient examples for Ethernet 2012-03-16 10:48:18 -04:00
David A. Mellis
13e0b9335c Putting ArduinoISP back to 19200 baud.
From 9600.  And lowering the delay in the heartbeat from 40 to 20,
which seems to fix things again.
2012-03-15 19:02:08 -04:00
Tom Igoe
5dba3bad20 Simplified mouse examples 2012-03-15 13:01:34 -04:00
Tom Igoe
1b58e45f74 Added LED to InputPullup example 2012-03-14 23:11:35 -04:00
Tom Igoe
81b6ca2d61 Added URL for new example 2012-03-14 21:11:00 -04:00
Tom Igoe
b2fe779ec0 Added DigitalInputPullup example by Scott Fitzgerald 2012-03-14 21:03:22 -04:00
Zach Eveland
067cca7baa reduced delay before starting the Leonardo bootloader
Since we use a magic RAM flag to signal to the bootloader there's a risk of the sketch overwriting the magic RAM location before the bootloader starts.  By reducing the watchdog timeout we reduce the chance of this happening.
2012-03-14 18:17:22 -04:00
Zach Eveland
a05a0d531b bugfix for Caterina not starting sketch if "verify upload" turned off in IDE.
Previously, if avrdude skipped the upload step the read while write memory might never be reenabled.  This would prevent the bootloader from ending and the sketch from starting - the bootloader just continued to run even after a successful upload.  Now enable RWW when we receive the AVR109 "Exit bootloader" 'E' command.  Had to disable lock bit changing support in the bootloader to free up flash for the change - will anyone miss it?
2012-03-14 17:48:11 -04:00
Zach Eveland
2a19c327bb changed Caterina timeout after self-programming to 500 ms (from 250 ms)
attempt to fix bug reported by Dave Mellis:
"avrdude: ser_close(): can’t reset attributes for device: Invalid argument"
is thrown after attempting an upload in the IDE (though the upload seems to be successful)
2012-03-14 17:07:14 -04:00
Zach Eveland
d169114205 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-03-14 15:40:29 -04:00
Tom Igoe
7f11df115d Updated ChatServer 2012-03-12 15:30:18 -04:00
Tom Igoe
15bd28d495 Added ButtonMouseControl example for Leonardo 2012-03-09 16:22:58 -05:00
Zach Eveland
d3d94b157e updated avrdudeUploader with new path for Caterina 2012-03-08 14:23:45 -05:00
Zach Eveland
30421143f9 give Leonardo bootloader 250 ms to finish housekeeping before leaving self-programming mode
Earlier approach had bootloader end as soon as it was told to.  On Linux this caused problems with avrdude because the microcontroller never had a chance to send an acknowledgement.
2012-03-08 14:20:12 -05:00
Zach Eveland
33116711b0 removed old version of Leonardo's caterina bootloader, replaced with LUFA-based caterina 2012-03-08 13:47:42 -05:00
Cristian Maglie
177746aa7f Fix for some strange behaviours during board reset 2012-03-07 16:21:04 +01:00