Quote Originally Posted by Optech View Post
I have been programming a 16f876 for various control/signal generation applications for years using the TRISA=? line to set the ports to input or output.
I was hoping to use a smaller (8 pin) chip such as 16F629 to generate a asymmetrical squarewave to regulate a clock but the datasheet is set out very differently to the 876.
Does anyone know if I can use similar code to set the ports, and if not how is it done?
thanks.
16F629?
Maybe a 12F629...
Yes, they are practically the same, but different.
The PBP manual explains the difference between Ports and GPIO's, TRISIO, etc.