First commit
This commit is contained in:
		
						commit
						b7f4e7b76e
					
				
							
								
								
									
										33
									
								
								elevator1/elevator1.ino
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								elevator1/elevator1.ino
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,33 @@ | |||||||
|  | void setup() { | ||||||
|  |   // put your setup code here, to run once:
 | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | class buttons() { | ||||||
|  |   public: | ||||||
|  |   int button1 = 22; | ||||||
|  |   int button2 = 23; | ||||||
|  |   int button3 = 24; | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | class 7segment() { | ||||||
|  |   public: | ||||||
|  |   void display(numberToDisplay) { | ||||||
|  |     //bcd code
 | ||||||
|  |   } | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | class led() { | ||||||
|  |   public: | ||||||
|  |   int led1 = 4; | ||||||
|  |   int led2 = 5; | ||||||
|  |   int led3 = 6; | ||||||
|  |     void on(ledNumber) { | ||||||
|  |       //out
 | ||||||
|  |     } | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | void loop() { | ||||||
|  |   // put your main code here, to run repeatedly:
 | ||||||
|  | 
 | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								gpio_usage.ods
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								gpio_usage.ods
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user