Could you someone help me regarding this please? I wrote small progrma using pic 12f675. When I am checking 'watch' the GPIO inputs are not changing according to the program. Are there any specifications need to be given for GPIO port.
You need to make the port pins outputs... The TRISIO register controls the direction of each pin... A "1" means input and a "0" means output.... so to use ALL the pins as output use TRISIO = 0... Also turn off any ADC pin using the ANSEL register..
You need to make the port pins outputs... The TRISIO register controls the direction of each pin... A "1" means input and a "0" means output.... so to use ALL the pins as output use TRISIO = 0... Also turn off any ADC pin using the ANSEL register..