loop speech
This commit is contained in:
		
							parent
							
								
									4006afff64
								
							
						
					
					
						commit
						f630fc8d88
					
				| 
						 | 
					@ -254,6 +254,10 @@ void setup() {
 | 
				
			||||||
  radio.initialize();
 | 
					  radio.initialize();
 | 
				
			||||||
  radio.setRfPower(0);
 | 
					  radio.setRfPower(0);
 | 
				
			||||||
  radio.frequency(145010);
 | 
					  radio.frequency(145010);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void loop() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  radio.waitForChannel(); // wait for the channel to be empty
 | 
					  radio.waitForChannel(); // wait for the channel to be empty
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
| 
						 | 
					@ -275,7 +279,5 @@ void setup() {
 | 
				
			||||||
  voice.say(spFIRE);
 | 
					  voice.say(spFIRE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  radio.setModeReceive();  
 | 
					  radio.setModeReceive();  
 | 
				
			||||||
}
 | 
					  delay(10000);
 | 
				
			||||||
 | 
					 | 
				
			||||||
void loop() {
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue