Is there anywhere on the script i need to make sure the keyboard is a UK (GB) keyboard layout? The chromebook itself is already preloaded and setup with a UK keyboard so i am very confused as to why it substitutes the @ sign with " sign.
Well, to start with you refer to running a script. The Arduino does not run scripts, rather it runs compiled C++ code. Then there is the small matter of you not posting any code or even a link to any code. You have also not provided any details of the hardware being used or the version of the IDE.
Cross posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes writing a detailed answer on this thread, without knowing that someone else already did the same in the other thread.
Repeated cross posting will result in a suspension from the forum.
In the future, please take some time to pick the forum section that best suits the topic of your question and then only post once to that forum section. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum section. It contains a lot of other useful information. Please read it.
sorry about that guys. I am a complete noob to this thing.
Here is a link to the script:
I entered the email address in line 20 as below: #define username "manager@myschooldomain.co.uk" // Define the user name for enrolling the device.
The device i am using is called OSOYOO Pro Micro ATmega328 Pro Mini. When i upload the sketch into the arduino device and then plug it into the chromebook i am trying to enroll, everything goes well until it reaches the email address input whereby it changes the @ sign with ".
I must be missing something for sure but i can't find anything on the sketch to point me in the right direction.
In the Arduino world, programs are called "sketches". If you call them scripts, it will cause confusion because they are definitely not scripts.
The Keyboard library used by that sketch is for US keyboards. The different keyboard layout between the UK and US keyboards is the reason why you're getting a different character than you expect.
So, would i need to change my PC keyboard layout to US and then retype the @ sign using the "? I am guessing as this device is a key logger, that's probably the best way around it.
galijanach:
So, would i need to change my PC keyboard layout to US and then retype the @ sign using the "?
You could do one or the other. Certainly you shouldn't do both.
galijanach:
I am guessing as this device is a key logger, that's probably the best way around it.
No, it's definitely not a key logger. A keylogger is a piece of software that records the keystrokes someone types on a keyboard. They are usually used by hackers to steal private information.
What you have is a sketch that automates Chromebook deployments. Very different, and a much better use for an Arduino.