Inaccurate analog reading and interrupt problem

Thank you pluggy, very good info.