Quote Originally Posted by mackrackit View Post
Try replacing PORTA with GPIO???
That chip does not have an A.
Tried that. Actually, I used GPIO.4 in the first place.

I tried GPIO.0 too, but for GPIO.0, always stay low,
not able to set high.