Tutorial.KeyboardMessage History

Hide minor edits - Show changes to markup

November 11, 2013, at 01:57 PM by Scott Fitzgerald -
Changed line 28 from:
to:
Changed lines 31-32 from:
to:
November 11, 2013, at 01:57 PM by Scott Fitzgerald -
Changed line 28 from:
to:
Changed lines 31-32 from:
to:
November 11, 2013, at 01:49 PM by Scott Fitzgerald -
Changed line 38 from:
to:
October 31, 2012, at 09:54 PM by Scott Fitzgerald -
Changed lines 21-24 from:

Attach one end of the pushbutton to pin 4 on the Leonardo. Attach the other end it +5V. Use the resistor as a pull-down, providing a reference to ground, by attaching it from pin 4 to ground.

Once you've programmed your Leonardo, unplug the USB cable and open a text editor. Connect your Leonardo board to your computer and press the button to write in the document.

to:

Attach one end of the pushbutton to pin 4 on the Arduino. Attach the other end to power. Use the resistor as a pull-down, providing a reference to ground, by attaching it from pin 4 to ground.

Once you've programmed your board, unplug the USB cable and open a text editor. Connect the board to your computer and press the button to write in the document.

October 31, 2012, at 09:47 PM by Scott Fitzgerald -
Changed line 11 from:
  • Arduino Leonardo or Arduino Due board
to:
  • Arduino Leonardo, Micro, or Due board
Changed line 36 from:
to:
Changed line 38 from:
to:
October 31, 2012, at 09:44 PM by Scott Fitzgerald -
Added lines 36-38:
Deleted lines 39-89:
October 22, 2012, at 11:18 AM by Federico -
Changed lines 4-6 from:

When the button is pressed in this example, a text string is sent to the computer as keyboard input. The string reports the number of times the button has been pressed. Once you have the Leonardo programmed and wired up, open up your favorite text editor to see the results.

to:

When the button is pressed in this example, a text string is sent to the computer as keyboard input. The string reports the number of times the button has been pressed. Once you have the Leonardo programmed and wired up, open up your favourite text editor to see the results.

Changed line 11 from:
  • Arduino Leonardo board
to:
  • Arduino Leonardo or Arduino Due board
Changed lines 45-46 from:
 * pushbutton attached from pin 2 to +5V
 * 10-kilohm resistor attached from pin 4 to ground
to:
 * pushbutton attached from pin 2 to +5V on AVR boards
   and to +3.3V to the Arduino Due
 * 10-kilohm resistor attached from pin 2 to ground
Changed line 58 from:

const int buttonPin = 4; // input pin for pushbutton

to:

const int buttonPin = 2; // input pin for pushbutton

October 19, 2012, at 11:57 AM by Federico -
Changed line 57 from:

const int buttonPin = 2; // input pin for pushbutton

to:

const int buttonPin = 4; // input pin for pushbutton

May 21, 2012, at 07:43 PM by Scott Fitzgerald -
Changed lines 38-86 from:
to:
May 02, 2012, at 04:13 PM by Scott Fitzgerald -
Changed line 38 from:
to:
April 27, 2012, at 06:54 PM by Scott Fitzgerald -
Changed lines 7-8 from:

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 includes a pushbutton to toggle the keyboard, so that it only runs after a button is depressed.

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 includes a pushbutton to toggle the keyboard, so that it only runs after the button is pressed.

April 27, 2012, at 05:44 PM by Scott Fitzgerald -
Changed line 28 from:
to:
Changed line 38 from:
to:
Added line 45:
March 28, 2012, at 07:21 PM by Scott Fitzgerald -
Deleted line 38:
Deleted line 44:

\\

March 28, 2012, at 07:21 PM by Scott Fitzgerald -
Changed line 20 from:

Circuit

to:

Circuit\\

Added line 39:
March 28, 2012, at 07:20 PM by Scott Fitzgerald -
Added lines 21-25:

Attach one end of the pushbutton to pin 4 on the Leonardo. Attach the other end it +5V. Use the resistor as a pull-down, providing a reference to ground, by attaching it from pin 4 to ground.

Once you've programmed your Leonardo, unplug the USB cable and open a text editor. Connect your Leonardo board to your computer and press the button to write in the document.

click the images to enlarge

Changed lines 27-32 from:
 Attach one end of the pushbutton to pin 4 on the Leonardo. Attach the other end it +5V. Use the resistor as a pull-down, providing a reference to ground, by attaching it from pin 4 to ground.

Once you've programmed your Leonardo, unplug the USB cable and open a text editor. Connect your Leonardo board to your computer and press the button to write in the document.

click the images to enlarge

to:
March 28, 2012, at 07:19 PM by Scott Fitzgerald -
Changed lines 22-23 from:

Connect your Leonardo board to your computer with a micro-USB cable. Attach one end of the pushbutton to pin 4 on the Leonardo. Attach the other end it +5V. Use the resistor as a pull-down, providing a reference to ground, by attaching it from pin 4 to ground.

to:
 Attach one end of the pushbutton to pin 4 on the Leonardo. Attach the other end it +5V. Use the resistor as a pull-down, providing a reference to ground, by attaching it from pin 4 to ground.

Once you've programmed your Leonardo, unplug the USB cable and open a text editor. Connect your Leonardo board to your computer and press the button to write in the document.

Changed line 45 from:

\\

to:

\\

December 07, 2011, at 01:44 AM by Scott Fitzgerald -
Changed lines 39-42 from:
to:
December 07, 2011, at 01:18 AM by Scott Fitzgerald -
Changed lines 7-8 from:

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.move(). This sketch includes a pushbutton to toggle the keyboard, so that it only runs after a button is depressed.

to:

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 includes a pushbutton to toggle the keyboard, so that it only runs after a button is depressed.

December 07, 2011, at 01:16 AM by Scott Fitzgerald -
Added lines 6-8:

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.move(). This sketch includes a pushbutton to toggle the keyboard, so that it only runs after a button is depressed.

November 28, 2011, at 09:08 PM by Scott Fitzgerald -
Changed line 33 from:
to:
November 27, 2011, at 05:12 PM by Scott Fitzgerald -
Changed line 33 from:
to:
November 27, 2011, at 05:11 PM by Scott Fitzgerald -
Changed line 33 from:
to:
November 22, 2011, at 12:49 AM by Scott Fitzgerald -
Added line 18:
Changed lines 21-29 from:
to:
November 19, 2011, at 06:37 PM by Scott Fitzgerald -
Added lines 1-28:

Share