--- title: TinyGsmTemperature --- # TinyGsmTemperature (class) **Module:** **[TinyGsmTemperature](class_tiny_gsm_temperature.html)** Provides temperature-related functions for the modem. This class allows you to access the modem's temperature sensor and retrieve the current temperature in degrees Celsius. `#include ` ## Temperature functions ### Public Functions | | Name | | -------------- | -------------- | | float | **[getTemperature](#aab76cfbab3183877b3fa4f005cdbc394)**()
Get the modem chip temperature in degrees celsius. | ## Public Functions Documentation ### Temperature functions #### functiongetTemperature ```cpp float getTemperature() ``` - **Return**: The modem chip temperature in degrees celsius. ------------------------------- Generated by [Doxygen](https://www.doxygen.nl) and [m.css](https://mcss.mosra.cz/) with templates from [doxybook2](https://github.com/matusnovak/doxybook2) Updated on 2026-09-11