Current sensor ACS712 error

Sorry, I've just edited my previous post. Have you seen the word of caution?

But :+1: that it works now.

Have you done the remapping in you determinVQ(), too?


@rbbahia, a quick search on this forum came up with this thread, giving some more background and even suggesting a 3V3 solution for the ACS712

It's a good rule of thumb to first search the forum before posting a question - this would safe others the work of answering the same questions over and over again.
Since I've assumed you've done it already, I didn't first search but immediately answered - please don't do this to us.