From 7f4a88b2338da8c72af11f7fcbca97de1d67ffd9 Mon Sep 17 00:00:00 2001 From: ortegafernando Date: Tue, 2 Jun 2020 08:12:21 +0200 Subject: [PATCH] Add readPowerLevel function --- RFM69.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RFM69.h b/RFM69.h index 66be994..f739cd6 100644 --- a/RFM69.h +++ b/RFM69.h @@ -197,6 +197,7 @@ class RFM69 { virtual void setPowerLevel(uint8_t level); // reduce/increase transmit power level void sleep(); uint8_t readTemperature(uint8_t calFactor=0); // get CMOS temperature (8bit) + uint8_t readPowerLevel(); // get powerLevel void rcCalibration(); // calibrate the internal RC oscillator for use in wide temperature variations - see datasheet section [4.3.5. RC Timer Accuracy] // allow hacking registers by making these public @@ -281,4 +282,4 @@ class RFM69 { #endif }; -#endif \ No newline at end of file +#endif