Haha, yeah, wow :-)
You post a snippet and you get complaints about it not working because someone can't be bothered to clear TRIS and ANSEL by them them selves. So, next time you post a fully working, tailor made solution that solves exactly what was asked (which then turns out to not be what op actually MEANT) only to get complains that the code is too verbose :-)
I've spent countless hours writing snippets and full verified-to-be-working programs, both in response to questions asked on this forum and posted as examples. I enjoy doing it, I hope it helps users. I don't get paid to do it, on the contrary I've SPENT my own money buing devices, development boards, breakout boards and what not to help solve peoples issues because I've found (and still find) it interesting and fun.
Rarely have I asked myself why bother...
Bookmarks