In know Adafruit doesn't do the Can-bus shield but everyone here has been very helpful in all my other projects
I have got the Skpang CAN-BUS shield it connected to a serial LCD display
I have downloaded the version 4 off there demo sketch and placed it inside the arduino working folder, but I cant get the sketch to Verify.
I've spent hours trying to work it out but still cant get it working. Can anyone help??
When Verifying it comes up with these errors:
- Code: Select all
ecu_reader_logger.cpp: In function 'void setup()':
ecu_reader_logger:159: error: 'Canbus' was not declared in this scope
ecu_reader_logger:159: error: 'CANSPEED' was not declared in this scope
ecu_reader_logger.cpp: In function 'void loop()':
ecu_reader_logger:174: error: 'Canbus' was not declared in this scope
ecu_reader_logger:174: error: 'ENGINE_RPM' was not declared in this scope
ecu_reader_logger:184: error: 'Canbus' was not declared in this scope
ecu_reader_logger:184: error: 'VEHICLE_SPEED' was not declared in this scope
ecu_reader_logger:192: error: 'Canbus' was not declared in this scope
ecu_reader_logger:192: error: 'ENGINE_COOLANT_TEMP' was not declared in this scope
ecu_reader_logger:201: error: 'Canbus' was not declared in this scope
ecu_reader_logger:201: error: 'THROTTLE' was not declared in this scope
ecu_reader_logger.cpp: In function 'void logging()':
ecu_reader_logger:223: error: 'Canbus' was not declared in this scope
ecu_reader_logger:223: error: 'CANSPEED_500' was not declared in this scope
ecu_reader_logger:262: error: 'class SdFile' has no member named 'writeError'
ecu_reader_logger:277: error: 'Canbus' was not declared in this scope
ecu_reader_logger:277: error: 'ENGINE_RPM' was not declared in this scope
ecu_reader_logger:288: error: 'Canbus' was not declared in this scope
ecu_reader_logger:288: error: 'VEHICLE_SPEED' was not declared in this scope
ecu_reader_logger:297: error: 'Canbus' was not declared in this scope
ecu_reader_logger:297: error: 'ENGINE_COOLANT_TEMP' was not declared in this scope
ecu_reader_logger:306: error: 'Canbus' was not declared in this scope
ecu_reader_logger:306: error: 'THROTTLE' was not declared in this scope
It seems to be related to the Canbus.h file but just cant work it out?
Cheers

