diff --git a/examples/arduino-rx/arduino-rx.ino b/examples/arduino-rx/arduino-rx.ino index f989336..3b55bb4 100644 --- a/examples/arduino-rx/arduino-rx.ino +++ b/examples/arduino-rx/arduino-rx.ino @@ -2,10 +2,7 @@ #include -const int kPinLed0 = 13; const int kPinSpeaker = 10; -const int kPinButton0 = 2; -const int kPinButton1 = 4; using TSample = int16_t; static const size_t kSampleSize_bytes = sizeof(TSample); @@ -62,10 +59,7 @@ void setup() { Serial.begin(57600); while (!Serial); - pinMode(kPinLed0, OUTPUT); pinMode(kPinSpeaker, OUTPUT); - pinMode(kPinButton0, INPUT); - pinMode(kPinButton1, INPUT); // Configure the data receive callback PDM.onReceive(onPDMdata); diff --git a/include/ggwave/ggwave.h b/include/ggwave/ggwave.h index ba7a7d0..9578b26 100644 --- a/include/ggwave/ggwave.h +++ b/include/ggwave/ggwave.h @@ -437,8 +437,9 @@ public: // - GGWave::Protocols::tx() // // For optimal performance and minimum memory usage, make sure to enable only the - // Rx and Tx protocols that you need. For example, using a single protocol for Tx - // is achieved like this: + // Rx and Tx protocols that you need. + // + // For example, using a single protocol for Tx is achieved like this: // // Parameters parameters; // parameters.operatingMode = GGWAVE_OPERATING_MODE_TX;