c code for pic16f877a project

Status
Not open for further replies.

shicibukai

Newbie level 1
Joined
Feb 21, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
i have a project to design a automatic switching capacitor for power factor correction system.. the pic will eventually detect an input from current transducer. the current transducer will detect current value n convert to number(0-255) i think... if value is from 0-100... o/p A will trigger... if value from 101-150, o/p B will trigger and if value from 150-255, o/p C will trigger.. A,B,C is refer to different output from the pic16f877a. these 3 output then will be connected to capacitor.. the problem is, i don't know how to assign those output to specific input current value. im a newbie here and im just starting to study the microC. can anyone help me with the C code? thanks..
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…