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

1609 Commits

Author SHA1 Message Date
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
David A. Mellis
d06710ebe5 Also delaying after auto-reset on Windows.
Windows seemed to have the same issue as Linux: scanning for the ports
prevented the reset from happening (i.e. it opened the port or
otherwise raised DTR).
2012-03-06 16:33:29 -05:00
Tom Igoe
3a51c4c3ab Added KeyboardLogout example 2012-03-06 12:47:34 -05:00
Tom Igoe
c95c262fe3 Removed KeyboardSleep example 2012-03-06 09:40:22 -05:00
Tom Igoe
3b383b9edf Corrected KeyboardReprogram sketch 2012-03-06 09:26:01 -05:00
Tom Igoe
2c90355ca2 Added new Keyboard combo examples 2012-03-05 22:30:47 -05:00
David A. Mellis
2cff5593ec Adding delay on Linux before looking for Leonardo bootloader. 2012-03-04 20:42:44 -05:00
David A. Mellis
eda8f1301f Lowering non-Windows timeout for assuming Leonardo has reset.
On Mac and Linux, the serial port should disappear fairly quickly.  So
if we see the selected port after 500 ms, it should be the bootloader
(not the sketch still).
2012-03-04 19:38:53 -05:00
David A. Mellis
4ab241ceb6 Revert "Speed up on serial port touch"
This reverts commit a5404125f6.
2012-03-04 19:29:07 -05:00
Zach Eveland
18f08bc7d4 Added Keyboard support for all modifier and all common non-printing keys. 2012-03-03 23:37:39 -05:00