stanleyhuangyc / ArduinoOBD

OBD-II library and sketches for Arduino
http://freematics.com
986 stars 518 forks source link

Error when compiling gprslogger code #49

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello,

I downloaded the code for the gprslogger from github, but am getting all kinds of errors when i try to compile it. I have added the errors below. Can you please help me? I have spent hours on this code, but am stuck:(

Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno"

Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB Build options changed, rebuilding all In file included from /home/john/Arduino/libraries/grbl/config.h:30:0, from /home/john/Arduino/Telemetrics/ArduinoOBD-master/gpslogger/gpslogger.ino:15: /home/john/Arduino/libraries/grbl/grbl.h:68:4: error: #error "Required HOMING_CYCLE_0 not defined."

error "Required HOMING_CYCLE_0 not defined."

^

/home/john/Arduino/libraries/grbl/grbl.h:108:4: error: #error "WCO refresh must be greater than one."

error "WCO refresh must be greater than one."

^

/home/john/Arduino/libraries/grbl/grbl.h:111:4: error: #error "Override refresh must be greater than zero."

error "Override refresh must be greater than zero."

^

/home/john/Arduino/Telemetrics/ArduinoOBD-master/gpslogger/gpslogger.ino:19:24: fatal error: datalogger.h: No such file or directory

include

                    ^

compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno.

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