Jebao wr -4

Do you have a question on how to do something.
Ask in here.
Post Reply
GreenVF
Posts: 7
Joined: Tue Apr 21, 2015 5:03 am
Location: AUSTRALIA

Jebao wr -4

Post by GreenVF »

I'm trying to get 2 wave makers running of the dimming ports. I would like to be able to control them from the app/ website. I have 2 x Jebao cables. The easy bit was the connections.
I have tried to copy some code from Sacohen http://forum.reefangel.com/viewtopic.php?f=11&t=3873
But I can not get the code to compile.

This is the errors
reefangel:156: error: expected unqualified-id before numeric constant
reefangel:161: error: expected unqualified-id before 'if'
reefangel:168: error: expected unqualified-id before 'if'
reefangel:170: error: expected unqualified-id before 'if'
reefangel:175: error: expected unqualified-id before 'else'
reefangel:181: error: expected unqualified-id before 'else'

I have attached my code.
once I can get this code to compile I want to change the feed time to 10 minutes not 60.
Thanks in advance
Michael
You do not have the required permissions to view the files attached to this post.
User avatar
cosmith71
Posts: 1432
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Jebao wr -4

Post by cosmith71 »

That section of code is just kind of hanging out. It probably needs to be within the loop() or in another function.
Post Reply