Have a look here first
http://www.picbasic.co.uk/forum/show...10&postcount=2
I haven't run your numbers to make sure it works (don't know your voltage divider values), but it's certainly better then what you have.
If it doesn't work, let me know, we'll figure something out.
<br>




Bookmarks