[SX127x] Skip tone() for CubeCell (CubeCell:CubeCell:CubeCell-Board)
This commit is contained in:
parent
68eebadf1d
commit
e03b674e10
1 changed files with 2 additions and 2 deletions
|
@ -175,8 +175,8 @@ void loop() {
|
|||
Serial.println(state);
|
||||
}
|
||||
|
||||
// tone() function is not available on ESP32 and Arduino Due
|
||||
#if !defined(ESP32) && !defined(_VARIANT_ARDUINO_DUE_X_)
|
||||
// tone() function is not available on ESP32, Arduino Due and CubeCell
|
||||
#if !defined(ESP32) && !defined(_VARIANT_ARDUINO_DUE_X_) && !defined(__ASR6501__)
|
||||
// transmit FM tone at 1000 Hz for 1 second
|
||||
// (DIO2 is connected to Arduino pin 4)
|
||||
tone(4, 1000);
|
||||
|
|
Loading…
Add table
Reference in a new issue