 
 
		
		
				
				
		
			
				
					No I have not looked at the data sheet . . . 
	Code:
	TRISA = %11111110
PORTA = GPIO
 I see you aliased GPIO as portA, shouldn't you also alias the TRISIO as TRISA, for this to work ?
	Code:
	TRISIO = TRISA
GPIO  =  PortA
PortA = %00101100
TrisA = %11111100
 
				
			 
			
		 
			
                        	
		        
			
			If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
			
			
		 
	
Bookmarks