Tutorial.KeyboardReprogram History

Show minor edits - Show changes to markup

August 28, 2015, at 04:13 PM by Simone Maiocchi -
Changed lines 1-6 from:
to:
August 28, 2015, at 04:12 PM by Simone Maiocchi -
Added lines 12-13:

Hardware Required

Deleted line 14:

Hardware Required

Changed lines 19-20 from:
to:
Changed line 24 from:
to:
Changed line 26 from:
to:
Added lines 36-37:
Changed lines 51-57 from:
to:
July 29, 2015, at 04:13 PM by Simone Maiocchi -
Changed lines 8-9 from:

This example uses the Keyboard library to open a new Arduino IDE sketch window, send keyboard commands that type in the Blink example, and reprograms the board. After running this sketch and connecting pin 2 to ground, the board will have a new program, Blink.

to:

This example uses the Keyboard library to open a new Arduino Software (IDE) sketch window, send keyboard commands that type in the Blink example, and reprograms the board. After running this sketch and connecting pin 2 to ground using the pushbutton, the board will have a new program, Blink.

Changed lines 15-16 from:
  • hookup wire
to:
  • pushbutton
  • hook-up wires
  • breadboard
Deleted lines 34-35:
Added lines 36-37:
July 29, 2015, at 04:10 PM by Simone Maiocchi -
Deleted line 20:
Changed lines 22-29 from:

Connect your board to your computer with a micro-USB cable.

To run the sketch, connect a hook-up wire from pin 2 to ground. For this to run successfully, keep the Arduino software running as the frontmost application.

click the images to enlarge

to:

click the image to enlarge

Changed lines 28-31 from:
to:

Schematic

click the image to enlarge

Changed lines 35-36 from:
to:

Connect your board to the USB port, then push the button to connect D2 with GND and initiate the sketch keyboard keypress emulation. Remember to have the Arduino Software (IDE) window selected before you press the button.

Added lines 46-48:


Last revision 2015/07/29 by SM

July 28, 2015, at 10:56 AM by Simone Maiocchi -
Changed lines 18-19 from:
  • Arduino IDE
to:
  • Arduino IDE running
July 09, 2015, at 12:21 PM by Simone Maiocchi -
Changed lines 1-5 from:

Examples > Keyboard Library

Keyboard Reprogram

This example uses the Keyboard library to open a new Arduino sketch window, send keyboard commands that type in the Blink example, and reprograms the board. After running this sketch and connecting pin2 to ground, the Arduinio will have a new program.

to:
Changed line 13 from:

Hardware Required

to:

Hardware Required

Changed line 17 from:

Software Required

to:

Software Required

Changed line 22 from:

Circuit\\

to:

Circuit

Changed lines 34-35 from:

Code

to:

Code

Changed line 42 from:

See Also

to:

See Also

October 31, 2012, at 09:53 PM by Scott Fitzgerald -
Changed lines 19-20 from:

Connect your Leonardo board to your computer with a micro-USB cable.

to:

Connect your board to your computer with a micro-USB cable.

October 31, 2012, at 09:53 PM by Scott Fitzgerald -
Changed lines 4-5 from:

This example uses the Keyboard library to open a new Arduino sketch window, send keyboard commands that type in the Blink example, and reprograms the Leonardo or the Due. After running this sketch and connecting pin2 to ground, the Leonardo (or the Due) will have a new program.

to:

This example uses the Keyboard library to open a new Arduino sketch window, send keyboard commands that type in the Blink example, and reprograms the board. After running this sketch and connecting pin2 to ground, the Arduinio will have a new program.

Changed line 10 from:
  • Arduino Leonardo or Arduino Due board
to:
  • Arduino Leonardo, Micro, or Due board
Changed line 31 from:
to:
Changed lines 33-35 from:
to:
Deleted lines 35-127:
October 22, 2012, at 11:23 AM by Federico -
Changed lines 4-5 from:

This example uses the Keyboard library to open a new Arduino sketch window, send keyboard commands that type in the Blink example, and reprograms the Leonardo. After running this sketch and connecting pin2 to ground, the Leonardo will have a new program.

to:

This example uses the Keyboard library to open a new Arduino sketch window, send keyboard commands that type in the Blink example, and reprograms the Leonardo or the Due. After running this sketch and connecting pin2 to ground, the Leonardo (or the Due) will have a new program.

Changed line 10 from:
  • Arduino Leonardo board
to:
  • Arduino Leonardo or Arduino Due board
Changed line 47 from:
 * Arduino Leonardo
to:
 * Arduino Leonardo or Arduino Due
May 21, 2012, at 07:52 PM by Scott Fitzgerald -
Changed line 26 from:
to:
May 21, 2012, at 07:48 PM by Scott Fitzgerald -
Changed lines 33-129 from:
to:
May 02, 2012, at 04:14 PM by Scott Fitzgerald -
Changed line 33 from:
to:
April 27, 2012, at 06:55 PM by Scott Fitzgerald -
Changed lines 6-7 from:

NB: When you use the Keyboard.print() command, the Arduino takes over your computer's keyboard! To insure you don't lose control of your computer while running a sketch with this function, make sure to set up a reliable control system before you call Keyboard.print(). This sketch is designed to only send a Keyboard command after the Leonardo has received a byte over the serial port.

to:

NB: When you use the Keyboard.print() command, the Arduino takes over your computer's keyboard! To insure you don't lose control of your computer while running a sketch with this function, make sure to set up a reliable control system before you call Keyboard.print(). This sketch is designed to only send Keyboard commands after digital pin 2 is pulled to ground.

April 27, 2012, at 06:36 PM by Scott Fitzgerald -
Changed lines 4-7 from:

This example uses the Keyboard library to open a new Arduino sketch window, type in the Blink example, and reprogram the Leonardo.

NB: When you use the Keybaord.print() command, the Arduino takes over your computer's keyboard! To insure you don't lose control of your computer while running a sketch with this function, make sure to set up a reliable control system before you call Keyboard.print(). This sketch is designed to only send a Keyboard command after the Leonardo has received a byte over the serial port.

to:

This example uses the Keyboard library to open a new Arduino sketch window, send keyboard commands that type in the Blink example, and reprograms the Leonardo. After running this sketch and connecting pin2 to ground, the Leonardo will have a new program.

NB: When you use the Keyboard.print() command, the Arduino takes over your computer's keyboard! To insure you don't lose control of your computer while running a sketch with this function, make sure to set up a reliable control system before you call Keyboard.print(). This sketch is designed to only send a Keyboard command after the Leonardo has received a byte over the serial port.

Changed lines 14-15 from:
  • none
to:
  • Arduino IDE
Changed lines 21-23 from:

To run the sketch, connect a hook-up wire from pin 2 to ground.

to:

To run the sketch, connect a hook-up wire from pin 2 to ground. For this to run successfully, keep the Arduino software running as the frontmost application.

April 27, 2012, at 06:03 PM by Scott Fitzgerald -
Added lines 24-29:

click the images to enlarge

image developed using Fritzing. For more circuit examples, see the Fritzing project page

Changed line 33 from:
to:
Changed line 40 from:

\\

to:
April 18, 2012, at 03:34 AM by Scott Fitzgerald -
April 18, 2012, at 12:47 AM by Scott Fitzgerald -
Added lines 1-34:

Share