Skip to content

hfg-gmuend-code/arduino-button-keyboard-press

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Arduino Leonardo: Pullup Button

Description

With this code you can connect buttons with your Arduino Leonardo (Micro, etc.) and use them as keyboard.

How-To start

  1. Define your "buttonPin1"
  2. Connect your Button. One Pin to the ground and the other one to your "buttonPin1".
  3. Create a instance of your class Button: "Button nummer1(buttonPin1,"0");"
  4. The first parameter ist you buttonPin and the other second ist you keyboard output.
  5. Call the class method "checkButton" to check the button input and do a keypress.
  6. Run your code!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages