![]()  | 
| 		
			
			 | 
		#1 | |
| 
			
			
			
			 Nhập môn đệ tử 
			
		
			
			
			Tham gia ngày: May 2016 
				
				
				
					Bài gửi: 1
 
				
				
				:  | 
	
	
	
	
		
			
			 yêu cầu: (only use interrupt rb0) 
		
	
		
		
		
		
		
	
	1.press SW (not hold) ,count and display number of times of press (if up to 19 begin down,example 0,1,...18,19,18,17,...1,0,1,2....continue)--->solved 2.press and hold SW,count will up/down and display continuous--->mình không biết giải quyết như thế nào (trong hàm void ngat_RB0() hay trong void main() ?) Code C file (PICC) and simulation (protues 8.4) http://www.mediafire.com/download/3o...est_rb0_SW.rar ![]() phần code của mình,chạy tốt yêu cầu 1: Trích: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
			
			
		
	 | 
		
  | 
	
		
  |