Errors when compiling with dev branch
Re: Errors when compiling with dev branch
Can you send me a screen shot of File->Preferences window of your Arduino IDE?
Roberto.
Re: Errors when compiling with dev branch
is the sketchbook location where you placed the dev branch?
Can you send me a screenshot of your folder structure?
Can you send me a screenshot of your folder structure?
Roberto.
Re: Errors when compiling with dev branch
Yes, it’s the location where I put the dev libraries. Here’s the structure:
/Users/sbidny/Documents/Arduino 1.8.6/libraries/
I will grab a screenshot when I get a chance as well.
/Users/sbidny/Documents/Arduino 1.8.6/libraries/
I will grab a screenshot when I get a chance as well.
Re: Errors when compiling with dev branch
It's definitely picking up the dev libraries, FWIW, since the call to ReefAngel.StandardHeater1() is working. The older libraries did not support this call. I believe they required ReefAngel.StandardHeater().
Re: Errors when compiling with dev branch
Screenshot of folder structure:
Re: Errors when compiling with dev branch
Light bulb turned on.
I think you are also missing the updated features file.
https://github.com/reefangel/FeaturesAndUpdateFiles
Update the files on your folder /Users/sbidny/Documents/Arduino 1.8.6/libraries/update
I think you are also missing the updated features file.
https://github.com/reefangel/FeaturesAndUpdateFiles
Update the files on your folder /Users/sbidny/Documents/Arduino 1.8.6/libraries/update
Roberto.
Re: Errors when compiling with dev branch
That seemed to do it. I am now able to compile. Will try to upload using the Bluetooth adapter when I get home tonight. Thanks!
Re: Errors when compiling with dev branch
I was able to upload using the Bluetooth adapter. However, I am now seeing tons of trailing random characters on the display. Seems as if it’s using uninitialized character buffers for strings.
Could it be that the prior version automatically initialized allocated buffers and that the new version requires an explicit initialization?
Could it be that the prior version automatically initialized allocated buffers and that the new version requires an explicit initialization?
Re: Errors when compiling with dev branch
Just playing around right now, so there's not much to it. Basically, all it's doing is setting the 0-10v ports to 100%.
Code: Select all
#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 <Salinity.h>
#include <RF.h>
#include <IO.h>
#include <ORP.h>
#include <AI.h>
#include <PH.h>
#include <WaterLevel.h>
#include <Humidity.h>
#include <DCPump.h>
#include <PAR.h>
#include <ReefAngel.h>
void setup()
{
// This must be the first line
ReefAngel.Init(); //Initialize controller
ReefAngel.AddStandardMenu(); // Add Standard Menu
ReefAngel.Use2014Screen(); // Let's use 2014 Screen
}
void loop()
{
ReefAngel.PWM.SetDaylight(100);
ReefAngel.PWM.SetActinic(100);
ReefAngel.Portal("sbidny");
ReefAngel.CloudPortal();
ReefAngel.DDNS("reef"); // Your DDNS is sbidny-reef.myreefangel.com
// This should always be the last line
ReefAngel.ShowInterface();
}
Re: Errors when compiling with dev branch
FYI, when I upload the same (minus the ReefAngel.CloudPortal() call) via Arduino 1.0.1, I don't see the same issue with trailing characters.
I'll try uploading using 1.8.6 without the CloudPortal() call.
I'll try uploading using 1.8.6 without the CloudPortal() call.
Re: Errors when compiling with dev branch
Same issue.
Re: Errors when compiling with dev branch
I wonder if this is a MacOSX issue only.
I'm not able to replicate.
lnevo, can you report if you have this issue?
I'm not able to replicate.
lnevo, can you report if you have this issue?
Roberto.
Re: Errors when compiling with dev branch
I’ll try to get it going from Windows and see if the problem persists.