You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
clicker/clicker_board.ino

24 lines
341 B

#include "Mouse.h"
#define SERIAL_SPEED 9600
void setup()
{
//Mouse.begin();
Serial.begin(SERIAL_SPEED);
delay(2000);
Serial.println("hello");
}
void loop()
{
if (Serial.available())
{
char input = (char)Serial.read();
Serial.print("poo");
if (input)
{
Mouse.click();
}
}
}