Gentlemen
This is the program that JorgeF and I have been working on transferred to the 16F1829 chip. It works. It is built up on the low pin count board that came with the PICKit 3. The PWM for this chip does not work in debug just like in the 12F1572.
Now I need to figure out how to have this work with a train coming in either direction. I have tried IRR1||IRR2 and that had some weird problems. I also do not know how to isolate two IRR connected to the same pin.
Jay
Bin trying to post for 3 days. Access Denied
This is the latest file and it works by counting cars is either direction. Thanks to JorgeF. If this post works it may be because I cleared my cookies files. Still not working.
Jay
If this works it's because I logged out and back in. Did not help. Lost count of days.
Jay