Arduino keyboard emulator

0 Просмотры
Издатель
In this video, in response to a viewer's request, we use an Arduino to emulate key presses on the host computer's keyboard. While the functions for this are part of the core Arduino libraries and do not need to be installed, you must have an Arduino with ATMega43u4 chip such as the Leonardo, Due or the Pro Micro to take advantage.
In our example we use three tactile switches to to do three seperate actions. The first sends a character, in this case an upper case A. The second sends a string of characters, and the third sends the Hex value for the return key.
The comands are very user friendly, but beware, you must use the () and () functions in the loop section of the code or you could (temporarily) lose control of your keyboard.
All of my sketches are available here:

-~-~~-~~~-~~-~-
Please watch: "Diodes: The basic building block of all digital circuits"

-~-~~-~~~-~~-~-
Категория
Приключения онлайн
Комментариев нет.
Яндекс.Метрика