Spark Fun Artemis Black ATP Boards

General discussion of using Roboclaw motor controllers
Post Reply
drgrs
Posts: 1
Joined: Sat Aug 05, 2017 1:33 pm

Spark Fun Artemis Black ATP Boards

Post by drgrs » Tue Sep 24, 2019 12:04 pm

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.

User avatar
Basicmicro Support
Posts: 1258
Joined: Thu Feb 26, 2015 9:45 pm

Re: Spark Fun Artemis Black ATP Boards

Post by Basicmicro Support » Wed Oct 02, 2019 11:24 am

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.

Basicmicro Tech
Posts: 9
Joined: Wed Feb 13, 2019 2:56 pm

Re: Spark Fun Artemis Black ATP Boards

Post by Basicmicro Tech » Thu Oct 03, 2019 3:14 pm

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.

Post Reply