Reference.KeyboardBegin History

Hide minor edits - Show changes to output

October 20, 2012, at 03:21 PM by Scott Fitzgerald -
Changed lines 7-8 from:
When used with the Leonardo board, Keyboard.begin() starts emulating a keyboard connected to a computer. To end control, use [[/Reference/KeyboardEnd | Keyboard.end]]().
to:
When used with a Leonardo or Due board, Keyboard.begin() starts emulating a keyboard connected to a computer. To end control, use [[/Reference/KeyboardEnd | Keyboard.end]]().
April 28, 2012, at 12:36 AM by Scott Fitzgerald -
Changed lines 21-38 from:
to:
(:source lang=arduino tabwidth=4:)
void setup() {
// make pin 2 an input and turn on the
// pullup resistor so it goes high unless
// connected to ground:
pinMode(2, INPUT_PULLUP);
Keyboard.begin();
}

void loop() {
//if the button is pressed
if(digitalRead(2)==LOW){
//Send the message
Keyboard.print("Hello!");
}
}
(:sourceend:)
April 27, 2012, at 10:42 PM by Scott Fitzgerald -
Changed lines 20-21 from:
!!!Example:
to:
!!!Example

!!!!See Also
*[[/Reference/KeyboardEnd | Keyboard.end]]()
*[[/Reference/KeyboardPress | Keyboard.press]]()
*[[/Reference/KeyboardPrint | Keyboard.print]]()
*[[/Reference/KeyboardPrintln | Keyboard.println]]()
*[[/Reference/KeyboardRelease | Keyboard.release]]()
*[[/Reference/KeyboardReleaseAll | Keyboard.releaseAll]]()
*[[/Reference/KeyboardWrite | Keyboard.write]]()

March 28, 2012, at 08:51 PM by Scott Fitzgerald -
Changed lines 7-8 from:
Starts emulating the keyboard connected to a computer. To start control, use Keyboard.end().
to:
When used with the Leonardo board, Keyboard.begin() starts emulating a keyboard connected to a computer. To end control, use [[/Reference/KeyboardEnd | Keyboard.end]]().
March 28, 2012, at 01:15 AM by Scott Fitzgerald -
Added lines 1-22:
[[Reference/MouseKeyboard]]

!!Keyboard.begin()

!!!!Description

Starts emulating the keyboard connected to a computer. To start control, use Keyboard.end().

!!!!Syntax
Keyboard.begin()

!!!!Parameters

none

!!!!Returns

nothing

!!!Example:

\\

Share