Add readPowerLevel function

This commit is contained in:
ortegafernando 2020-06-02 08:12:21 +02:00 committed by GitHub
parent e543fb1fb5
commit 7f4a88b233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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