ae5d5c0c00
modified StringSubstring example to add gating on port readiness
2012-04-01 12:59:00 -04:00
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
232c7808be
Custom error messages for use of Mouse and Keyboard on non-Leonardo boards.
2012-03-31 14:50:56 -04:00
8e176b0084
selectively suppress unwanted avrdude output for Leonardo when not verbose uploading is disabled
2012-03-30 22:24:40 -04:00
e90cb3650d
tweaked verbosity level for avrdude on Leonardo uploads
2012-03-29 22:31:01 -04:00
a39aba5eff
Merge branch 'master' of github.com:arduino/32U4 into LUFA_bootloader
2012-03-29 20:02:21 -04:00
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
76e551592a
Deleted duplicate example
2012-03-29 15:20:53 -04:00
7c1b60191b
Updated comments in keyboard reprogram
2012-03-29 12:04:22 -04:00
5627f14518
Fixed typo in the KeyboardReprogram example
2012-03-29 07:25:22 -04:00
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
b86ec2723a
removed horrible multi-key Keyboard.press() and Keyboard.release() methods
...
Saves 924 bytes of Flash
2012-03-28 18:46:10 -04:00
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
57b3395691
Moved begin() in JoystickMouseControl example.
2012-03-28 14:40:44 -04:00
f4746a6b25
Added delay to KeyboardReprogram to make backspace more obvious
2012-03-28 12:24:17 -04:00
5fef2eee1c
Added new Keyboard and mouse combined control
2012-03-27 15:01:07 -04:00
772f4ffa5f
Updated USB examples to include Keyboard and mouse Begin.
2012-03-27 15:00:24 -04:00
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
63fdb8ef7a
Keyboard.type() now just presses and releases the key indicated - doesn't releaseAll()
2012-03-26 17:00:16 -04:00
2e140e4950
added stub methods for begin() and end() to Mouse and Keyboard
2012-03-26 16:02:40 -04:00
a0f1f1a930
Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
2012-03-24 09:30:17 -04:00
19f513b943
Updating comments in SoftwareSerial example.
2012-03-20 16:24:48 -04:00
87eaf2d0c5
Updated comments in softwareSerial example
2012-03-20 14:48:24 -04:00
da09e0c867
Updated Ethernet WebServer example to give more diagnostic info
2012-03-20 10:37:15 -04:00
a46facad70
Updated notes in digitalInputPullup
2012-03-19 19:45:11 -04:00
f5093b064a
Renumbered examples
2012-03-19 19:44:06 -04:00
a165d87aa9
Changed text of KeyboardMessage to make it easier for international keyboards.
2012-03-19 12:02:48 -04:00
c9ded42197
Updated PachubeClientString and PachubeClient examples for Ethernet
2012-03-16 10:48:18 -04:00
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
5dba3bad20
Simplified mouse examples
2012-03-15 13:01:34 -04:00
1b58e45f74
Added LED to InputPullup example
2012-03-14 23:11:35 -04:00
81b6ca2d61
Added URL for new example
2012-03-14 21:11:00 -04:00
b2fe779ec0
Added DigitalInputPullup example by Scott Fitzgerald
2012-03-14 21:03:22 -04:00
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
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
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
d169114205
Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
2012-03-14 15:40:29 -04:00
7f11df115d
Updated ChatServer
2012-03-12 15:30:18 -04:00
15bd28d495
Added ButtonMouseControl example for Leonardo
2012-03-09 16:22:58 -05:00
d3d94b157e
updated avrdudeUploader with new path for Caterina
2012-03-08 14:23:45 -05:00
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
33116711b0
removed old version of Leonardo's caterina bootloader, replaced with LUFA-based caterina
2012-03-08 13:47:42 -05:00
177746aa7f
Fix for some strange behaviours during board reset
2012-03-07 16:21:04 +01:00
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
3a51c4c3ab
Added KeyboardLogout example
2012-03-06 12:47:34 -05:00
c95c262fe3
Removed KeyboardSleep example
2012-03-06 09:40:22 -05:00
3b383b9edf
Corrected KeyboardReprogram sketch
2012-03-06 09:26:01 -05:00
2c90355ca2
Added new Keyboard combo examples
2012-03-05 22:30:47 -05:00
2cff5593ec
Adding delay on Linux before looking for Leonardo bootloader.
2012-03-04 20:42:44 -05:00
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