Mrramsey
NEO Reefer
hello and cool idea to keep an eye on your tank setup.. why did you use 2 GPIO and not just one bigger unit for just one usb cable coming out of the control box and going to the computer or was 2 some how more flexible?
Good question! Actually I was going to use the 16 Channel GPIO but since I was starting with someone else's code initially I thought it best to set things up according to a known environment as much as possible. But it does give me some flexibility as well. The code in its current state is very messy with quite a few really looonngg functions. I am currently re-factoring a lot of it so it makes more sense and in doing so I have isolated both cards. I can very easily add a third card should the need ever arise. I can now make a single comment on one line of code to completely prevent one of the cards from reporting. Makes life easier when debugging. And to add... if someone just wants to tinker with the idea they could just buy one 8 channel card and comment out the second card all together.
In the early days of the code the original author only had one card and just expanded as the need grew.