Artemis Nano fails to compile MotorTest.ino

Hi,

having used the Artemis Nano in the past, now coming back to it after a year and nothing compiles anymore. I can upload Blink no problem but most of everything else is an issue and won’t compile, most importantly I want to run motors and just using the MotorTest.ino file already gives me this error below.

I updated all the boards and libraries and keep getting this error:

{…}Serial_Controlled_Motor_Driver\src\SCMD.cpp: In member function ‘uint8_t SCMD::begin()’:

{…}Serial_Controlled_Motor_Driver\src\SCMD.cpp:106:7: error: ‘class arduino::MbedSPI’ has no member named ‘setClockDivider’

SPI.setClockDivider(SPI_CLOCK_DIV32);

^~~~~~~~~~~~~~~

{…}Serial_Controlled_Motor_Driver\src\SCMD.cpp:106:23: error: ‘SPI_CLOCK_DIV32’ was not declared in this scope

SPI.setClockDivider(SPI_CLOCK_DIV32);

^~~~~~~~~~~~~~~

{…}Serial_Controlled_Motor_Driver\src\SCMD.cpp:108:7: error: ‘class arduino::MbedSPI’ has no member named ‘setBitOrder’

SPI.setBitOrder(MSBFIRST);

^~~~~~~~~~~

{…}Serial_Controlled_Motor_Driver\src\SCMD.cpp:111:7: error: ‘class arduino::MbedSPI’ has no member named ‘setDataMode’

SPI.setDataMode(SPI_MODE0);

any help is appreaciated.

Chris

This is related to the other one; update the board definitions through Arduino IDE and attempt again

Hi Chris

Did you ever solve this? I am having the same error

Max