SparkFun Forums 

Where electronics enthusiasts find answers.

User avatar
By Chris M
#230902
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
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]