Arduino Forum

Development => Other Software Development => Topic started by: PierreErard on Jul 16, 2019, 04:32 am

Title: How to run command with arduino?
Post by: PierreErard on Jul 16, 2019, 04:32 am
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!
Title: Re: How to run command with arduino?
Post by: Robin2 on Jul 16, 2019, 09:27 am
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
Title: Re: How to run command with arduino?
Post by: PaulS on Jul 22, 2019, 04:29 pm
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.