I was wondering if you are able to open a file on the computer with an Arduino.
I am going to use a button to open a python file, the only thing that is being run on the Arduino is the button command and the command to run the program.
Any recommendations or ways to do this would be appreciated.
Take a look at the Arduino keyboard library. It allows you to send keystrokes to the PC from the Arduino but be aware that it only works with certain Arduino boards
crazyoi39821:
I do not have a board that works with the keyboard module. Would there be another way to do it
You could write a program (perhaps with Python) to run on the PC and listen for a message from the Arduino. When the PC program receives an appropriate message it could do other tasks on the PC.
But if you don't want to have a listening program on the PC then you need an Arduino that can pretend to be a keyboard.