Erika + Seeed Studio CAN Bus Shield

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
CarrickCha
Newbie
Posts: 5
Joined: Mon May 04, 2015 11:35 am

Erika + Seeed Studio CAN Bus Shield

Post by CarrickCha » Wed May 06, 2015 8:45 am

Hello, I'm trying to add a Task for CAN communication on Arduino UNO R3. I'm using CAN Bus shield as well.

here is header files for Seeed CAN Bus shield.

https://github.com/Seeed-Studio/CAN_BUS_Shield

I thought it was very easy to use CAN functions with Erika but there is a big problem.

the problem is that header file is made with C++ language,
it means that it can't be used on Task.c (because it is made with C Language)

is there anyone who can help me ?

I'm very novice of programming.

I will thank to any replies.

Thanks for reading

Carrick.

CarrickCha
Newbie
Posts: 5
Joined: Mon May 04, 2015 11:35 am

Re: Erika + Seeed Studio CAN Bus Shield

Post by CarrickCha » Thu May 07, 2015 7:28 am

I solved it by using wrapper function

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: Erika + Seeed Studio CAN Bus Shield

Post by paolo.gai » Fri Jun 12, 2015 7:01 pm

Hi,
the notification of this post just arrived, probably due to a problem in the mail server. I'm happy that you solved it.

If you want to share an example, we'll be hapy to add it to the examples for Arduino.

PJ

Post Reply