The voltage reference is disabled by default, but yeah, not bad to make sure of everything
CVRCON = 0 if my memory serves me well
with CMCON = 7 it usually enough.
Anyways, on this one, IF we want to have always the same brightness on ALL LED, we will need to do some TRIS and PORT tricks. Obviously our friend omit to add the resistor in his schematic, but no problem, i'm working on something right now.
For once, i'll try it on a SIM
Schematic is attached
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks