Reports the current clock speed of the ESP.
More...
#include <sensesp/sensors/system_info.h>
|
| SystemHz () |
|
String | get_value_name () |
|
| ValueProducer () |
|
| ValueProducer (const float &initial_value) |
|
virtual const float & | get () const |
|
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< float, typenameVConsumer::input_type >::value, std::shared_ptr< VConsumer > >::type | connect_to (std::shared_ptr< VConsumer > consumer) |
| Connect a producer to a transform with a different input type.
|
|
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< float, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer *consumer) |
|
std::enable_if< std::is_base_of< ValueConsumer< typenameVConsumer::input_type >, VConsumer >::value &&std::is_convertible< float, typenameVConsumer::input_type >::value, VConsumer * >::type | connect_to (VConsumer &consumer) |
|
void | emit (const float &new_value) |
|
| Observable () |
|
| Observable (Observable &&other) |
| Move constructor.
|
|
void | notify () |
|
void | attach (std::function< void()> observer) |
|
Reports the current clock speed of the ESP.
Nothing about it is configurable, except whether or not it appears in your project's output. That is configured with SensESPAppBuilder.
Definition at line 47 of file system_info.h.
◆ SystemHz()
sensesp::SystemHz::SystemHz |
( |
| ) |
|
|
inline |
◆ get_value_name()
String sensesp::SystemHz::get_value_name |
( |
| ) |
|
|
inline |
◆ update()
void sensesp::SystemHz::update |
( |
| ) |
|
|
protected |
◆ elapsed_millis_
elapsedMillis sensesp::SystemHz::elapsed_millis_ |
|
protected |
◆ last_tick_count_
uint32_t sensesp::SystemHz::last_tick_count_ = 0 |
|
protected |
The documentation for this class was generated from the following files: