Commit Graph

1602 Commits

Author SHA1 Message Date
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
Zach Eveland aec3752e52 Removed support for key mapping in Keyboard.
Was no longer being used and would be damn near impossible to support with the new scheme for handling modifiers and non-printing keyboard characters.
2012-03-03 23:06:44 -05:00
Zach Eveland db82ab90eb added Keyboard methods press(), release(), and releaseAll()
Changes mean that a single, persistent key report must be used so keys can be added or removed.  Also reimplemented type() using the new methods.
2012-03-03 22:54:45 -05:00
Zach Eveland 9531c47c43 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-03-03 20:27:27 -05:00
David A. Mellis a292677108 Adding preference for disabling verification on upload (Nathan Seidle)
Adds a checkbox to the preferences dialog that controls whether or not
to verify code on upload via serial (verification still always occurs
when uploading using a programmer).  It is checked by default to match
current behavior.
2012-03-03 13:54:10 -05:00
Zach Eveland 8a35793794 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
Conflicts:
	.gitignore
2012-03-03 13:28:39 -05:00
Zach Eveland 7387db0673 fixed minor compilation warnings for Leonardo 2012-03-03 13:26:57 -05:00
David A. Mellis f4f62f9a12 Small changes for the ATmega1284.
http://code.google.com/p/arduino/issues/detail?id=736
2012-03-02 18:58:53 -05:00