 Other method ?????????????????????
 Other method ?????????????????????
		
		
				
				
					
				
		
			
				
					
	
		
			
			
				
					
 Originally Posted by 
micro
					
				 
				i solved the problem with another method as below
  if portb<>0 then intcon=%10001000
			
		 
	 
 Just a longer way to read PORTB ... no other method here !!!
Elegant solution would have been to display the port where the interrupt came from, in the "serout"
Alain
				
			 
			
		 
			
			
			
				
					Last edited by Acetronics2; - 3rd February 2006 at 10:39.
				
				
			
			
			
                        	
		         
			
			************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
			
			
		 
	
Bookmarks