Go Down

Topic: How to run command with arduino? (Read 147 times) previous topic - next topic

PierreErard

Hello, I have recently seen that the IDE is necessary to compile your code for the arduino. The only problem is, my computer has parental controls. I can bypass these with commands, because scripts still run when the computer is logged out. I was wondering if I could make the compiler run without clicking on it. I know you can use #include <Keyboard.h> and Keyboard.write(key) to send a keystroke to the computer, but it won't do it because the computer is logged out. Is there a way to make the compiler run by pressing a button on the arduino? Also, can the arduino edit the sketch and upload it? If the library exists, I need to know it. Again, I would like to be able to run commands with the arduino. Thanks for reading!

Robin2

#1
Jul 16, 2019, 09:27 am Last Edit: Jul 16, 2019, 09:28 am by Robin2
Hello, I have recently seen that the IDE is necessary to compile your code for the arduino. The only problem is, my computer has parental controls.
If your parents don't wish you to use the Arduino IDE I have no intention of helping you to disobey them.

However (as a parent myself) I cannot understand why a parent would object to a child learning to program an Arduino.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

PaulS

Quote
Is there a way to make the compiler run by pressing a button on the arduino?
The compiler is a PC application. Without the cooperation of the PC, the Arduino can't make it do anything. That is, some application on the PC needs to be listening to the Arduino, to determine what it wants the PC to do. And, that application needs to make the PC do what the Arduino wants.
The art of getting good answers lies in asking good questions.

Go Up