Profile cover photo
Profile photo
Dave Patterson
43 followers
43 followers
About
Posts

I am new to programming and to using Arduinos. I am trying to use Centipede to assist in enrolling a large number of Chromebooks. I have downloaded the script and I keep getting error messages and I am confused to how to best resolve them. Can someone please advise me on how best to resolve the issue.

Centipede sketch/script is for version 58+

Error messages:
Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino:11:0:

C:\Program Files (x86)\Arduino\libraries\Keyboard\src/Keyboard.h:29:2: warning: #warning "Using legacy HID core (non pluggable)" [-Wcpp]

#warning "Using legacy HID core (non pluggable)"

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void setup()':

Centipede_for_Chromebook_Enrollment:69: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.begin(); // Start they keyboard emulator

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void loop()':

Centipede_for_Chromebook_Enrollment:85: error: 'TXLED1' was not declared in this scope

TXLED1; // Toggle the TX on-board LED

^

Centipede_for_Chromebook_Enrollment:90: error: 'TXLED0' was not declared in this scope

TXLED0;

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void bootLoop()':

Centipede_for_Chromebook_Enrollment:102: error: 'TXLED1' was not declared in this scope

TXLED1; //TX LED is not tied to a normally controlled pin

^

Centipede_for_Chromebook_Enrollment:104: error: 'TXLED0' was not declared in this scope

TXLED0;

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void repeatKey(byte, int)':

Centipede_for_Chromebook_Enrollment:121: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.write(key);

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void enterCredentials()':

Centipede_for_Chromebook_Enrollment:146: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.print(username);

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void enterEnrollment()':

Centipede_for_Chromebook_Enrollment:161: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.press(KEY_LEFT_CTRL);

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void wifiConfig()':

Centipede_for_Chromebook_Enrollment:172: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.write(KEY_ENTER);

^

C:\Users\patterd\Desktop\Centipede_for_Chromebook_Enrollment\Centipede_for_Chromebook_Enrollment.ino: In function 'void setupAdvancedNetworkConfig()':

Centipede_for_Chromebook_Enrollment:244: error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?
Keyboard.write(KEY_ENTER);

^

exit status 1
'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Wait while more posts are being loaded