A very simple 3, or 4 Key Macro Keyboard Design
Hardware
Code
It doesn't get any easier really, create a new Arduino file with just this in, edit the Pins and actual Commands, and upload it to the Board, as easy as that you got yourself a simple macro Keyboard!
int buttonPin1 = 1; // Set a button to any pin
int buttonPin2 = 2; // Set a button to any pin
...
void setup()
{
pinMode(buttonPin, INPUT); // Set the button as an input
digitalWrite(buttonPin, HIGH); // Pull the button high
}
void loop()
{
if (digitalRead(buttonPin1) == 0) // if the button goes low
{
Keyboard.write('ΓΌ'); // send character '$'
delay(100); // delay
}
if (digitalRead(buttonPin2) == 0) // if the button goes low
{
Keyboard.write('p'); // send character '$'
delay(100); // delay
}
if (digitalRead(buttonPin3) == 0) // if the button goes low
{
Keyboard.write('i'); // send character '$'
delay(100); // delay
...
}
The author hasn't provided the model origin yet.