mirror of
https://github.com/esp8266/Arduino.git
synced 2025-05-03 20:44:46 +03:00
Added getResetReason
This commit is contained in:
parent
d9a51f9fa1
commit
c81abd2a92
@ -6,6 +6,7 @@ title: Change Log
|
|||||||
|
|
||||||
### Core
|
### Core
|
||||||
|
|
||||||
|
- Add function to know last reset resaon.
|
||||||
- Allow control of enabling debug and debug level from IDE
|
- Allow control of enabling debug and debug level from IDE
|
||||||
- Make HardwareSerial::begin() and end() interrupt safe
|
- Make HardwareSerial::begin() and end() interrupt safe
|
||||||
- Put HardwareSerial and cbuf methods called from interrupt context in RAM
|
- Put HardwareSerial and cbuf methods called from interrupt context in RAM
|
||||||
|
@ -83,6 +83,8 @@ APIs related to deep sleep and watchdog timer are available in the `ESP` object,
|
|||||||
|
|
||||||
`ESP.restart()` restarts the CPU.
|
`ESP.restart()` restarts the CPU.
|
||||||
|
|
||||||
|
`ESP.getResetReason()` returns String containing the last reset resaon in human readable format.
|
||||||
|
|
||||||
`ESP.getFreeHeap()` returns the free heap size.
|
`ESP.getFreeHeap()` returns the free heap size.
|
||||||
|
|
||||||
`ESP.getChipId()` returns the ESP8266 chip ID as a 32-bit integer.
|
`ESP.getChipId()` returns the ESP8266 chip ID as a 32-bit integer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user