Cant upload the code from the starter kit small tank


#1

i have this product

http://www.makeblock.cc/starter-robot-kit-v1-0-gold-with-electronics/

i have following theese steps http://wiki.makeblock.cc/index.php?title=Library_Download

but i cant upload the code to arduino

Ultrasonic_car:19: error: ‘MeDCMotor’ does not name a type
Ultrasonic_car:20: error: ‘MeDCMotor’ does not name a type
Ultrasonic_car:21: error: ‘MeUltrasonicSensor’ does not name a type
Ultrasonic_car.ino: In function ‘void loop()’:
Ultrasonic_car:38: error: ‘UltrasonicSensor’ was not declared in this scope
Ultrasonic_car.ino: In function ‘void Forward()’:
Ultrasonic_car:66: error: ‘MotorL’ was not declared in this scope
Ultrasonic_car:67: error: ‘MotorR’ was not declared in this scope
Ultrasonic_car.ino: In function ‘void Backward()’:
Ultrasonic_car:71: error: ‘MotorL’ was not declared in this scope
Ultrasonic_car:72: error: ‘MotorR’ was not declared in this scope
Ultrasonic_car.ino: In function ‘void TurnLeft()’:
Ultrasonic_car:76: error: ‘MotorL’ was not declared in this scope
Ultrasonic_car:77: error: ‘MotorR’ was not declared in this scope
Ultrasonic_car.ino: In function ‘void TurnRight()’:
Ultrasonic_car:81: error: ‘MotorL’ was not declared in this scope
Ultrasonic_car:82: error: ‘MotorR’ was not declared in this scope

why ? i have pay for this


#2

Hi Loads, it seems that the library was not be installed successfully. I’m not sure about your system, if it’s Windows, the path of the library should be like this,

C:\My documents\Arduino\libraries\makeblock\makeblock.cpp
C:\My documents\Arduino\libraries\makeblock\makeblock.h


#3

thxxxxx it works !!


#4