Update pro_micro.ino
This commit is contained in:
@@ -23,7 +23,7 @@ Auch hilfreich:
|
|||||||
ls /dev/input/by-id/
|
ls /dev/input/by-id/
|
||||||
ls /dev/ttyA*
|
ls /dev/ttyA*
|
||||||
lsusb
|
lsusb
|
||||||
|
screen /dev/ttyACM0 9600 # Serial Monitor im Terminal
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Keyboard.h"
|
#include "Keyboard.h"
|
||||||
@@ -50,12 +50,13 @@ void loop() {
|
|||||||
// Here starts the output action
|
// Here starts the output action
|
||||||
//Keyboard.press(KEY_LEFT_GUI); // Command key in Mac, use KEY_LEFT_CTRL for Pc
|
//Keyboard.press(KEY_LEFT_GUI); // Command key in Mac, use KEY_LEFT_CTRL for Pc
|
||||||
Keyboard.press('v');
|
Keyboard.press('v');
|
||||||
|
//Keyboard.press(KEY_LEFT_SHIFT);
|
||||||
delay(100);
|
delay(100);
|
||||||
Keyboard.releaseAll(); // This is important after every Keyboard.press it will continue to be pressed
|
Keyboard.releaseAll(); // This is important after every Keyboard.press it will continue to be pressed
|
||||||
|
|
||||||
digitalWrite(RXLED, LOW); // set the LED on
|
//digitalWrite(RXLED, LOW); // set the LED on
|
||||||
delay(300);
|
//delay(300);
|
||||||
digitalWrite(RXLED, HIGH); // set the LED off
|
//digitalWrite(RXLED, HIGH); // set the LED off
|
||||||
}
|
}
|
||||||
prevButtonState = buttonState;
|
prevButtonState = buttonState;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user