Page 1 of 1

Spark Fun Artemis Black ATP Boards

Posted: Tue Sep 24, 2019 12:04 pm
by drgrs
I just installed a Spark Fun Artemis Black, ATP board to replace the Arduino Mega in my project. The first sketch I tried would not compile and gave me this error: "no matching function for call to 'RoboClaw(SoftwareSerial* int)' The same sketch compiled just fine for the Arduino Mega 2560. This is the pertinent section of the code:

#include <SoftwareSerial.h>
#include "RoboClaw.h"

SoftwareSerial serial(10,11);
RoboClaw roboclaw(&serial,10000);

It seems the Artemis does not handle the RoboClaw library. Any fixes?

Thank you.

Re: Spark Fun Artemis Black ATP Boards

Posted: Wed Oct 02, 2019 11:24 am
by Basicmicro Support
M<y guess is it is complaining about the software serial object. The Artemis appears to be an ARM based product. As far as I know, NO ARM arduino compatibles have a working software serial library. You will need to use hardware serial ports instead.

Re: Spark Fun Artemis Black ATP Boards

Posted: Thu Oct 03, 2019 3:14 pm
by Basicmicro Tech
Have a look at this application note: https://resources.basicmicro.com/using- ... o-library/

Note that the names of the harware serial ports might be different on the Artemis. You'll have to look in the documentation for the names.