Hey all,
I'm very new to programming in PICBASIC. We are trying to output current to a DC motor for 5 seconds, off for 5 seconds, on for 5 seconds, etc. We have built a circuit with a PIC16f77 that will do this for voltage (it's running in 4.23 voltage supplied to the pic, and we have LEDs lighting up for 5 seconds with 4.23 volts supplied, off for 5 seconds, on for 5 seconds, etc.)
So, my question is how can I have the same logic with current output instead of voltage? The DC motor won't run on voltage. I apologize if this question seems trivial, we were thrown into the fray with little to no help.
Thanks!
Bookmarks