Updated pin allocation
This commit is contained in:
		
							parent
							
								
									b7f4e7b76e
								
							
						
					
					
						commit
						c6e0ad3873
					
				| @ -3,7 +3,7 @@ void setup() { | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| class buttons() { | ||||
| class button() { | ||||
|   public: | ||||
|   int button1 = 22; | ||||
|   int button2 = 23; | ||||
| @ -22,9 +22,16 @@ class led() { | ||||
|   int led1 = 4; | ||||
|   int led2 = 5; | ||||
|   int led3 = 6; | ||||
|     void on(ledNumber) { | ||||
|       //out
 | ||||
|     } | ||||
| }; | ||||
| 
 | ||||
| class detectors() { | ||||
|   public: | ||||
|   int detector1b = 25; | ||||
|   int detector1t = 26; | ||||
|   int detector1b = 27; | ||||
|   int detector2t = 28; | ||||
|   int detector3b = 29; | ||||
|   int detector3t = 30; | ||||
| }; | ||||
| 
 | ||||
| void loop() { | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								gpio_usage.ods
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gpio_usage.ods
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user