100 cycle of Ac signal Emon library

Sir,
Please sir will explain me about phase calibration in detail because i can’t understand what is the equation behind phase calibration ? so i am requesting to you please explain or give some hints regarding this.

The phase shift algorithm (for this is what I think you are asking) interpolates (for values of PHASECAL between 0 and 1) or extrapolates (for values of PHASECAL less than 0 or greater than 1) between the “this” sample of voltage and the previous sample of voltage, in order to create a new wave that is shifted by a variable amount. I have already given you the link to the full explanation in post no.30.

Ok sir,

How are you sir and what kind of condition there due to corona virus?
and one more thing can you please tell me about this sentence?
By modifying the software to report the time it takes to complete the inner measurement loop and the number of samples recorded, the time between samples was measured as 377 μs. This equates to 6.79° (at 50 Hz, a full cycle, i.e. 360°, takes 20 ms)
I want to know how to 377us = 6.79 degree.

It is simple proportion.