Quote Originally Posted by ChrisHelvey
On demand Hydrogen generation from water as a catalyst/fuel in the combustion process. Water cools the flame instead of liquid gasoline, which is a terrible waste in all internal combustion engines today.
(The things they DON'T tell you in car 101. :-) )
That sounds VERY interesting - best of luck with it!

I have the circuit working perfectly (with clearly labeled variables now.) I can't imagine how much time/pulled hair this saves even WITH the learning curve of using a PIC/Basic.
- Glad variables are helping you!

I'll be using another, separate one dedicated to creating a custom square wave (PWM) needed for another part of the design.
Chris, a little help with your project... you may already know this but anyways... the PIC16F877A also has Hardware PWM which is fantastic! You can set it and implement other code at the same time without worrying about its output frequency. You can easily change its frequency and stop the output alltogether. Check it out before using the PWM command.

Good luck

Rob