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
Jebao wr -4
Jebao wr -4
- Attachments
-
- reefangel.ino
- (6.78 KiB) Downloaded 394 times
Re: Jebao wr -4
That section of code is just kind of hanging out. It probably needs to be within the loop() or in another function.