The Planted Tank Forum - View Single Post - Improved Arduino LED lighting code
View Single Post
Old 09-07-2011, 07:29 PM   #7
sink
Algae Grower
 
PTrader: (2/100%)
Join Date: Jun 2011
Location: Boston, MA
Posts: 148
Default

Quote:
Originally Posted by O2surplus View Post
I found the TimerOne and Time libraries at Arduino.cc, so I think you could zip them up together with your code and be good to go. There's one thing you need to fix though, your code cannot be unzipped and moved directly into the Arduino IDE. The IDE will not recognize the folder until it is renamed. I had to change the name of the folder to "akl_tank_control" and the file name to "akl_tank_control.pde" and then it would open and compile properly. This is detail that may cause trouble for people who are not familiar with some of the Arduino IDE's file naming requirements.
Clearly I too am unfamiliar with the IDE's file naming requirements . I just uploaded a version that should be better in that regard. I also bundled the libraries up and added a link above. Thanks much for the input.

Quote:
I'll have to shoot you a PM with the coding for my controller. It works great as is, but I like the fact that your code updates the PWM every second, instead of once per minute. I've got the hardware side of things nailed down but I could use your help to improve the software.

I've got enough boot loaded ATMEGA328's to build 30 more, and a newer design that supports the MeanWell ELN-P's as well as my Cat4101's
Driver looks great! I'd love to help on the software end.

Quote:
Maybe a trade- Chips or a completed controller for software?
Sounds very reasonable. I do love the barter system. I'll shoot you an email
sink is offline   Reply With Quote