what does this error message mean?

Post Reply
deva
Posts: 25
Joined: Sun Mar 04, 2012 9:47 pm

what does this error message mean?

Post 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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: what does this error message mean?

Post by rimai »

Can you copy and paste the exact error you are getting?
Roberto.
deva
Posts: 25
Joined: Sun Mar 04, 2012 9:47 pm

Re: what does this error message mean?

Post by deva »

how do I do that? all it wants to give me is the code itself...
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: what does this error message mean?

Post 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.
Roberto.
deva
Posts: 25
Joined: Sun Mar 04, 2012 9:47 pm

Re: what does this error message mean?

Post 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();
}
deva
Posts: 25
Joined: Sun Mar 04, 2012 9:47 pm

Re: what does this error message mean?

Post by deva »

yeah it will not alloy copy and past??
deva
Posts: 25
Joined: Sun Mar 04, 2012 9:47 pm

Re: what does this error message mean?

Post 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();
}

deva
Posts: 25
Joined: Sun Mar 04, 2012 9:47 pm

Re: what does this error message mean?

Post 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
tkeracer619
Posts: 159
Joined: Thu Nov 24, 2011 9:50 pm
Location: Golden, CO

Re: what does this error message mean?

Post by tkeracer619 »

take a screen shot.
Image
Post Reply