Lee's Feature Complete PDE

Share you PDE file with our community

Posts: 178
Joined: Wed Nov 12, 2014 3:10 pm
Location: An Oklahoman in Ohio
PostPosted: Wed Mar 16, 2016 10:10 pm
lnevo wrote:Ok give me a little time and try to parse through your code and then see what we can do.


No problem. I appreciate any help you can give me.
Image
User avatar
Posts: 5342
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sun Mar 20, 2016 7:49 am
Ok, definitely need to think about how I'm going to best do this... are you looking to acclimate all 3 spectrums? I think I have to abstract the code a bit so you can pass some parameters to how each channel is being acclimated. It may be an improvement on my code as well. Give me some more time.

Posts: 178
Joined: Wed Nov 12, 2014 3:10 pm
Location: An Oklahoman in Ohio
PostPosted: Sun Mar 20, 2016 7:53 am
I usually run my red/green/uv lights with my actinic channel. So i would just need to make sure they aren't at 100% when the rest of the lights are at 50%. If it makes it easier to add the sunlocation code to get this to work it can be added, I have been planning on using that code, just haven't had a chance to get it coded in yet.
Image

Posts: 132
Joined: Mon Oct 15, 2012 7:21 pm
Location: Albany, GA
PostPosted: Tue Apr 05, 2016 7:33 am
I ran my 6-channel LEDs on the pwm channels. I ran my reds and greens with the white channel and UV with my blues. Sunrise location is within my code.

Sent from my SAMSUNG-SM-N900A using Tapatalk
Image

Posts: 10
Joined: Tue May 03, 2016 5:32 am
PostPosted: Tue May 03, 2016 4:02 pm
Hi,
Im new to RA but not so new to Arduinos.

Running the Mac Arduino IDE from the RA website, 1.0.1, with Lee's code and I am receiving many errors when i try to verify the sketch. All the library folders have been copied into place.

I've also tried many other codes from the forums and receive many errors on them too. Maybe I'm missing something for setting the RA software initially?

Can some one point me in the right direction of RA's sample code? I don't see it anywhere to download and its not included in the mac download.

Many thanks


Code: Select all
Number of Relay Expansion Modules: 3
Number of Menu Options: 9
Reef_Angel_Lee.cpp: In function 'void setup()':
Reef_Angel_Lee:256: error: 'class ReefAngelClass' has no member named 'InitMenu'
Reef_Angel_Lee:281: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee.cpp: In function 'void CheckPower()':
Reef_Angel_Lee:341: error: 'class RelayClass' has no member named 'IsRelayPresent'
Reef_Angel_Lee:354: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:359: error: 'class RelayClass' has no member named 'IsRelayPresent'
Reef_Angel_Lee.cpp: In function 'void SetSun()':
Reef_Angel_Lee:434: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:439: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:440: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:442: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:443: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:448: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:449: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:451: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:452: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:457: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:458: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:460: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:461: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:466: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:467: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:469: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:470: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:475: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:476: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:478: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:479: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee.cpp: In function 'void SetMoon()':
Reef_Angel_Lee:517: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:518: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:523: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:524: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:528: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:529: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:533: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:534: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:538: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:539: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee.cpp: In function 'void FillInMoon()':
Reef_Angel_Lee:554: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:557: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:557: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:558: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:559: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:559: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:560: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:562: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:563: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee.cpp: In function 'void AcclimateLED()':
Reef_Angel_Lee:575: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:575: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:577: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:577: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:579: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:579: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:581: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:581: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee.cpp: In function 'void LEDPresets()':
Reef_Angel_Lee:604: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:605: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:606: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:607: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:608: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:609: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee.cpp: In function 'void UpdateLED()':
Reef_Angel_Lee:732: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:733: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:734: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:735: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:736: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:737: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:741: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:742: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:743: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:744: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee.cpp: In function 'void SetTide()':
Reef_Angel_Lee:759: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee.cpp: In function 'void SetRF()':
Reef_Angel_Lee:769: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:770: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:786: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:787: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:797: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee.cpp: In function 'void RFCustom()':
Reef_Angel_Lee:839: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee:843: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:848: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:853: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:858: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:863: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:868: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:924: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee:925: error: 'class ReefAngelClass' has no member named 'RF'
Reef_Angel_Lee.cpp: In function 'void CheckATO()':
Reef_Angel_Lee:936: error: 'class ReefAngelClass' has no member named 'WaterLevel'
Reef_Angel_Lee:942: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee.cpp: In function 'void RefillATO()':
Reef_Angel_Lee:965: error: 'class ReefAngelClass' has no member named 'WaterLevel'
Reef_Angel_Lee.cpp: In function 'void LogFeedings()':
Reef_Angel_Lee:1026: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee.cpp: In function 'void adjustAlk()':
Reef_Angel_Lee:1152: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee:1153: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee:1158: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee:1166: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee.cpp: In function 'void LogDosingPumps()':
Reef_Angel_Lee:1193: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee:1199: error: 'class ReefAngelClass' has no member named 'CustomVar'
Reef_Angel_Lee.cpp: In function 'void LockPorts()':
Reef_Angel_Lee:1301: error: 'class ReefAngelClass' has no member named 'OverridePortsE'
Reef_Angel_Lee:1302: error: 'class ReefAngelClass' has no member named 'OverridePortsE'
Reef_Angel_Lee:1304: error: 'class ReefAngelClass' has no member named 'OverridePortsE'
Reef_Angel_Lee:1305: error: 'class ReefAngelClass' has no member named 'OverridePortsE'
Reef_Angel_Lee.cpp: In function 'void DailyReport()':
Reef_Angel_Lee:1332: error: 'class ReefAngelClass' has no member named 'WaterLevel'
Reef_Angel_Lee.cpp: In function 'void MenuEntry8()':
Reef_Angel_Lee:1402: error: 'class ReefAngelClass' has no member named 'SetupCalibrateWaterLevel'
Reef_Angel_Lee.cpp: In function 'void DrawParams(int, int)':
Reef_Angel_Lee:1467: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1469: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee.cpp: In function 'void DrawStatus(int, int)':
Reef_Angel_Lee:1478: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1479: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1496: error: 'class ReefAngelClass' has no member named 'WaterLevel'
Reef_Angel_Lee:1497: error: 'class ReefAngelClass' has no member named 'WaterLevel'
Reef_Angel_Lee:1504: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1505: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1506: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1507: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1508: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1509: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1510: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1511: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1512: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee:1513: error: 'class RA_NokiaLCD' has no member named 'DrawLargeText'
Reef_Angel_Lee.cpp: In function 'void DrawSunMoon(int, int)':
Reef_Angel_Lee:1562: error: 'MoonPhaseLabel' was not declared in this scope
Reef_Angel_Lee:1567: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:1568: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee.cpp: In function 'void DrawRelays(int, int)':
Reef_Angel_Lee:1580: error: 'class RelayClass' has no member named 'RelayDataE'
Reef_Angel_Lee:1581: error: 'class RelayClass' has no member named 'RelayMaskOffE'
Reef_Angel_Lee:1582: error: 'class RelayClass' has no member named 'RelayMaskOnE'
Reef_Angel_Lee:1586: error: 'class RelayClass' has no member named 'RelayDataE'
Reef_Angel_Lee:1587: error: 'class RelayClass' has no member named 'RelayMaskOffE'
Reef_Angel_Lee:1588: error: 'class RelayClass' has no member named 'RelayMaskOnE'
Reef_Angel_Lee.cpp: In function 'void Strike()':
Reef_Angel_Lee:1899: error: 'class ReefAngelClass' has no member named 'PWM'
Reef_Angel_Lee:1906: error: 'class ReefAngelClass' has no member named 'PWM'
User avatar
Posts: 5342
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Tue May 03, 2016 7:06 pm
It looks like it's not finding the libraries. You copied them to ~/Documents/Arduino?

The example code should be visible in the menus if the folder is in the right spot.

Posts: 10
Joined: Tue May 03, 2016 5:32 am
PostPosted: Wed May 04, 2016 1:58 am
lnevo wrote:It looks like it's not finding the libraries. You copied them to ~/Documents/Arduino?

The example code should be visible in the menus if the folder is in the right spot.


They are in the correct library folder. I've looked through the library folders and none of them contain example files.

Going to try the windows software next.
User avatar
Posts: 5342
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Wed May 04, 2016 2:01 am
Something is either wrong in your arduino gui settings, i would check the preferences, as you said you arent new to arduino so maybe its referencing a different folder in your prefs. The arduino folder that comes on the mac image should contain the examples, wizard, and the feature directory not just the libraries. The errors you are getting are 100% telling me its not finding the libraries.

Posts: 10
Joined: Tue May 03, 2016 5:32 am
PostPosted: Wed May 04, 2016 2:08 am
lnevo wrote:Something is either wrong in your arduino gui settings, i would check the preferences, as you said you arent new to arduino so maybe its referencing a different folder in your prefs. The arduino folder that comes on the mac image should contain the examples, wizard, and the feature directory not just the libraries. The errors you are getting are 100% telling me its not finding the libraries.


Maybe I'm looking in the wrong place here, I downloaded the libraries from GitHub as there were no libraries included in the mac img download. Just a help doc, wifi utility and Arduino IDE. Which when run was using my library folder in my documents. I can see the libraries listed when going to sketch, include library....
User avatar
Posts: 5342
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Wed May 04, 2016 2:10 am
Yeah thats the problem if you only downloaded the libraries. In the dmg file there should be an Arduino folder that you're supposed to drag to Documents. If you already had that folder then maybe it dropped into there. Either way check the dmg again and grab the contents of the Arduino folder and make sure they are in the documents/arduino folder.

You may also want to remove the prefernces file for the arduino ide just to make sure nothing was lingering.
PreviousNext

Return to My PDE/INO file

Who is online

Users browsing this forum: No registered users and 1 guest

cron