Hi,
Thanks again for the example. This is my 1st time using PIC Basic pro languange and im trying very hard to learn it. hope you can assist me more in the future.
i test it and it works fine for all three phases.(according to my value of lookup)
Phase 1 launch for 17.6ms
Phase 2 launch at 7ms of the phase 1
Phase 3 launch at 13.2ms of the phase 1
now, im trying to add six signal from six port pin connected to the external AND gate so that i can control the the 3 phases.
Attached is the schematic diagram.
what should i adjust in the codes so that
when
RA1 is high and RA2 is low pwm from ccp1 is launch other word is Q1 is launch and then after 1 complete cycle,
RA1 is low , RA2 is high Q4 is launch.
and so on.
thanks,
photoelectric
Bookmarks