Page 1 of 1

what does this error message mean?

Posted: Tue Apr 03, 2012 12:06 pm
by deva
Ok was trying to get my wifi setup on my RA+ Roberto was nice and help out....however got to the point were you upload the test code to the Ra and I keep getting this message:
"error compiling" so I make sure I am using the right port in my case it was com4 and have the Ra+ board selected.
now I think to myself that i have yet to successfully upload any code to the controller. so I try the "template example" code from the 1st uploading your code thread. same error...

so I dig around some more and make sure the USB -TTl cable is to the right ( as it is only 6 pins)...
still no luck. :(
I have spent 8-10+ hrs trying to understand this controller...I know I will get there.
anyway if any one knows what that error msg. is pleas help.
cheers

Re: what does this error message mean?

Posted: Tue Apr 03, 2012 12:22 pm
by rimai
Can you copy and paste the exact error you are getting?

Re: what does this error message mean?

Posted: Tue Apr 03, 2012 12:55 pm
by deva
how do I do that? all it wants to give me is the code itself...

Re: what does this error message mean?

Posted: Tue Apr 03, 2012 1:02 pm
by rimai
There is a status box with black background on the Arduino IDE towards the bottom.
It should show you the error in red letters. Copy that and paste here.

Re: what does this error message mean?

Posted: Tue Apr 03, 2012 1:07 pm
by deva
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <ReefAngel.h>

void setup()
{
ReefAngel.Init();
CheckWifi();
/*

If you get a compile error similar to this:
WifiTestCode:29: error: 'CheckWifi' was not declared in this scope
Please make sure that you enabled wifi on your features file.

Open RAGen and make sure you have Wifi checked under the Features tab.

Or, you can manually edit the file.
The file is located at "Documents\Arduino\libraries\ReefAngel_Features.h" file and has to include this line in it:
#define wifi

*/
}

void loop()
{
ReefAngel.ShowInterface();
}

Re: what does this error message mean?

Posted: Tue Apr 03, 2012 1:08 pm
by deva
yeah it will not alloy copy and past??

Re: what does this error message mean?

Posted: Tue Apr 03, 2012 1:19 pm
by deva
#include <Salinity.h>
#include <ReefAngel_Features.h>
#include <Globals.h>
#include <RA_Wifi.h>
#include <Wire.h>
#include <OneWire.h>
#include <Time.h>
#include <DS1307RTC.h>
#include <InternalEEPROM.h>
#include <RA_NokiaLCD.h>
#include <RA_ATO.h>
#include <RA_Joystick.h>
#include <LED.h>
#include <RA_TempSensor.h>
#include <Relay.h>
#include <RA_PWM.h>
#include <Timer.h>
#include <Memory.h>
#include <InternalEEPROM.h>
#include <RA_Colors.h>
#include <RA_CustomColors.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <ReefAngel.h>

void setup()
{
  ReefAngel.Init();
  CheckWifi();
  /*
  
  If you get a compile error similar to this:
  WifiTestCode:29: error: 'CheckWifi' was not declared in this scope
  Please make sure that you enabled wifi on your features file.
  
  Open RAGen and make sure you have Wifi checked under the Features tab.

  Or, you can manually edit the file.
  The file is located at "Documents\Arduino\libraries\ReefAngel_Features.h" file and has to include this line in it:
  #define wifi  
  
  */
}

void loop()
{
  ReefAngel.ShowInterface();
}


Re: what does this error message mean?

Posted: Tue Apr 03, 2012 1:34 pm
by deva
well I can't seam to copy and past the error msg. all it will do is give me the code??
errr I need a walk...lol

Re: what does this error message mean?

Posted: Tue Apr 03, 2012 2:07 pm
by tkeracer619
take a screen shot.