Glad something worked right!
Well, they need to be set to something... What would you recommend?2. If you change chips, settings from last chip persist.
You didn't like that part? Ok, I've found and fixed that bug.3. tris and port are still output as port and tris. to be clear, when i change the tris setting, port is changed in the output.
Ah, well...I don't want to push the joke too far...4. This is the biggie, cant find the option to include what I forgot!
I've tried messing with that, and the question I have is what value should your "x" be set? For most chips it's not a big deal. The 16F877 has only the lowest 3 bits on PORTE, so the application can write "TRISE = %111" to set them all to inputs. The 16F827, on the other hand, appears to be missing PORTA.5. I don't think it would make sense to write "PORTA = %11x11111". My understanding is in that case, the PIC really doesn't care what you set it to--it doesn't exist so it will just be ignored. But I still have to set it to something--1 or 0? Either way it is going to confuse someone sooner or later...can the tris and port output be combined when less then 8 pins are avail? ie:trisa=%xx00110011 instead of the current trisa.0= trisa.1= etc.
Best Regards,
Paul
Bookmarks