Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] power factor measurement

Status
Not open for further replies.

dhanashpic

Newbie level 2
Joined
Mar 7, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
hi..i want to measure the power factor...so zero crossing of voltage given to RD0 of portD and zero crossing of current given to RD1.my timer (TMR0) start from 0x3c.The problem is that variable r didnt read the value of TMR0...my coding is as follows..


while(RD1==1);
TMR0=0x3C;
while(RD1==1);
r=TMR0;


thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top