MorganS:
The problem is in the code you didn't post.Also, please explain more what you want to do. This isn't Google. You are allowed to write entire paragraphs.
Code:
#include <Arduino.h>
#include <HID-Project.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Keyboard.begin();
while(!Serial) {}
}
void loop() {
// put your main code here, to run repeatedly:
Keyboard.println("shutdown -s");
Keyboard.write('-');
while(1) {}
}
the output is always ' instead of -
i make 2 hours for find a resolution at the problem but it's impossible to resolve