Update example to use Color::BLACK not COLOR_BLACK (#2670)

COLOR_BLACK now generates a deprecation warning, update the example to use the recommended name.
This commit is contained in:
Michael Boulding 2023-02-14 20:58:55 +00:00 committed by GitHub
parent aac1c4e498
commit 37d4e88a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ beyond the typical SPI connections, it is better suited for use with the ESP32.
reset_pin: 33
lambda: |-
it.fill(COLOR_BLACK);
it.fill(Color::BLACK);
it.print(0, 0, id(my_font), id(my_red), TextAlign::TOP_LEFT, "Hello World!");
Configuration variables: