That sounds really good to be honest.
I haven’t had a chance to do a proper test but I always noticed the drift when moving side to side more.
I’ve been trying to get my head round how it works out the position and it seems like you could account for sideways movement based on the previewed distance between the LEDs but I can’t think of anything that could deal with up and down movement if the leds at on the same level.
I’ve ordered the pcb from you so I’m going to give this a go and build it.
I’ve started a write up on my site here
https://lightgungamer.com/how-to-build-your-own-lightgun/I’m going to add more to it once I’ve got it built.
One thing I was wondering though is if you think the M4 board would work for the build as the M0 seems to be out of stock.
I love what you are doing here. Apart from anything else, it’s a really accessible way for people to have a go and play around with this.
Sent from my iPhone using Tapatalk