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:
Ludovic BOUÉ 2023-04-19 16:27:50 +02:00 committed by GitHub
parent 01ea4397e4
commit 2910aae2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.