Hello all, I seem to be having issues uploading my firmware to my Melzi 2.0 board. Specifically it continues to say HIGH was not declared in this scope. Followed by:
Sd2Card.cpp: In member function 'void Sd2Card::chipSelectHigh()':
Sd2Card.cpp:146: error: 'HIGH' was not declared in this scope
Sd2Card.cpp:146: error: 'digitalWrite' was not declared in this scope
Sd2Card.cpp: In member function 'void Sd2Card::chipSelectLow()':
Sd2Card.cpp:150: error: 'LOW' was not declared in this scope
Sd2Card.cpp:150: error: 'digitalWrite' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::init(uint8_t, uint8_t)':
Sd2Card.cpp:217: error: 'millis' was not declared in this scope
Sd2Card.cpp:221: error: 'OUTPUT' was not declared in this scope
Sd2Card.cpp:221: error: 'pinMode' was not declared in this scope
Sd2Card.cpp:223: error: 'INPUT' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::waitNotBusy(uint16_t)':
Sd2Card.cpp:472: error: 'millis' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::waitStartBlock()':
Sd2Card.cpp:482: error: 'millis' was not declared in this scope
I am using Arduino 1.0.4. Can someone please help!
Sorry if I posted this issue in the wrong location.
Regards,
Chris