mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-01 03:51:36 +01:00
Fix strftime issue in max7219 doc (#2856)
Fix strftime issue in max7219 doc error: no matching function for call to 'esphome::max7219::MAX7219Component::strftime(const char [9])' it.strftime("%H.%M.%S");
This commit is contained in:
parent
01ea4397e4
commit
2910aae2c6
@ -104,7 +104,7 @@ segment of the previous position will be enabled.
|
|||||||
|
|
||||||
// Print the current time
|
// Print the current time
|
||||||
it.print(" ");
|
it.print(" ");
|
||||||
it.strftime("%H.%M.%S");
|
it.strftime("%H.%M.%S", id(esptime).now());
|
||||||
// Result for 10:06:42 -> "10.06.42 "
|
// Result for 10:06:42 -> "10.06.42 "
|
||||||
|
|
||||||
// Change the display intnsity based on another id.
|
// Change the display intnsity based on another id.
|
||||||
|
Loading…
Reference in New Issue
Block a user