Well I switched to the older Arduino, and at first it seemed like it would work Ultrasonic_car, did not compile but it did not complain about Makeblock.h. However, Makeblock.h was not highlighted in orange like SoftSerial.h and Wire.h Arduino.h was also no highlighted( this had been the same with the newer version of Arduino.
Instead Ultrasonic_car complained of MeDCMotor not being defined. I looked in Makeblaock.h and saw that that is where it would be defined. So I ran with verbose loge and found that Arduino still can not find Makeblock.h
Here is the log:
/Users/diesel/Downloads/20120216/pn/20120523/pn/Arduino 2.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -I/Users/diesel/Downloads/20120216/pn/20120523/pn/Arduino 2.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Users/diesel/Downloads/20120216/pn/20120523/pn/Arduino 2.app/Contents/Resources/Java/hardware/arduino/variants/standard -I/Users/diesel/Downloads/20120216/pn/20120523/pn/Arduino 2.app/Contents/Resources/Java/libraries/SoftwareSerial -I/Users/diesel/Downloads/20120216/pn/20120523/pn/Arduino 2.app/Contents/Resources/Java/libraries/Wire /var/folders/xs/3lz6q91d3wq4v4j5p96qyvf00000gp/T/build8545148106373238274.tmp/Ultrasonic_car.cpp -o /var/folders/xs/3lz6q91d3wq4v4j5p96qyvf00000gp/T/build8545148106373238274.tmp/Ultrasonic_car.cpp.o
Ultrasonic_car.ino:14:23: warning: Makeblock.h: No such file or directory
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
Sincerely,
Ron