Good work david, yes the change in frequency can be expected and it depends on the freq. of your SPWM. As I mentioned in tutorial, you can realy on the square wave but sine wave would work just crude. 

Never shown publicly.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.