hi i am building an energy meter using energy metering IC AD7751 as part of my final year project,can u please help me with a sample code for calculating the power consumed using a pic microcontroller.