Arduino i get an error compiling.

Arduino: 1.5.8 (Windows 8), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch_jun13a.ino:122:20: error: variable or field 'publishSensor' declared void

sketch_jun13a.ino:122:20: error: 'sensor' was not declared in this scope

sketch_jun13a.ino: In function 'void updateSensorsNew()':

sketch_jun13a.ino:1050:20: error: cannot convert 'sensor' to 'int' for argument '1' to 'void publishSensor(int, int, int, int)'

Error compiling.

 

  This report would have more information with

  "Show verbose output during compilation"

  enabled in File > Preferences.

I have also tryed Arduino ver 1.6.7 and 1.6.9

I have the same problem with that also.

It worked in the past but not now.

Can any on help?

Thanks

BillC

kwatters's picture

latest

Hi BillC,

There's a lot of refactoring going on now with MRLComm...  However, the latest one that's checked in to the develop branch is working for me locally.

https://raw.githubusercontent.com/MyRobotLab/myrobotlab/develop/src/reso...

This should be the one included.  Keep in mind, this needs arduino ide 1.5 or newer to work.

Hopefully that will work for you.

Good luck,

  -Kevin

BillC's picture

I quess that I am just having a bad week.

Hi Kevin,

I quess that i am just having a bad week. I tried what you told me, but that did not make any difference.

I think i am just going to delete everthing and just start over. Can you tell what I should download and in what order?

Thanks

BillC