But why does doing something wrong with PORTA LAT affect PORTC????
But why does doing something wrong with PORTA LAT affect PORTC????
it doesn't, LOW lata.6 turns the PLL OFF as with HIGH lata.6
porta address + 18 = trisa
lata address + 18 = osctune on that chip [it varies]
all pbp "high level" commands that set a pin direction use a fixed offset to get to the tris reg
it simply will not work correctly from a LATx offset
Warning I'm not a teacher
using pbp "high level" commands with LATX registers is a great way to introduce hard to find bugs in your code
5 stars
Warning I'm not a teacher
Bookmarks