RadioHead: in raspberry lora/gps hat sending information of a reading of a register.

  • I read the temperature for a raspberry, in rh_rf95.cpp I read a register 0x3c
    uint8_t RH_RF95::tempRead()
    return 255-spiRead(RH_RF95_REG_TEMP);


    & it's returning a value in hex.
    How can I save the value of
    uint8_t temp =rf95.tempRead();
    in data[] to send it?

    I hope you can help me, thanks.

Log in to reply

Looks like your connection to Community Forum was lost, please wait while we try to reconnect.