I have accessed the Education Shield library and I am trying to complete the 'Asteroid Attack' lesson as part of the CTC 101 education pack.
This is the error message:
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
AsteroidAttack:14:1: error: 'IMU' does not name a type
IMU imu; // the IMU
^~~
C:\Users\username\Documents\Arduino\libraries\EducationShield\examples\Block5-Space(101-only)\Projects\AsteroidAttack\AsteroidAttack.ino: In function 'void setup()':
AsteroidAttack:26:3: error: 'imu' was not declared in this scope
imu.begin();
^~~
C:\Users\username\Documents\Arduino\libraries\EducationShield\examples\Block5-Space(101-only)\Projects\AsteroidAttack\AsteroidAttack.ino: In function 'void loop()':
AsteroidAttack:37:3: error: 'imu' was not declared in this scope
imu.run();
^~~
exit status 1
'IMU' does not name a type
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.