diff --git a/examples/KIT/SCALES_KIT/SCALES_KIT.ino b/examples/KIT/SCALES_KIT/SCALES_KIT.ino index 4aa269f..4fd79f7 100644 --- a/examples/KIT/SCALES_KIT/SCALES_KIT.ino +++ b/examples/KIT/SCALES_KIT/SCALES_KIT.ino @@ -11,9 +11,11 @@ ******************************************************************************* Depend Libraries: - [HX711](https://github.com/bogde/HX711) + - [M5Unified](https://github.com/m5stack/M5Unified) + - [M5GFX](https://github.com/m5stack/M5GFX) */ -#include +#include #include #include "HX711.h" @@ -27,7 +29,7 @@ M5Canvas canvas(&display); HX711 scale; void setup() { - M5.begin(true, false, true, true, false); + M5.begin(); display.begin(); diff --git a/library.properties b/library.properties index 7b32d13..49edbde 100644 --- a/library.properties +++ b/library.properties @@ -8,4 +8,4 @@ category=Device Control url=https://github.com/m5stack/M5EPD architectures=esp32 includes=M5EPD.h -depends=M5GFX,FastLED,HX711 Arduino Library \ No newline at end of file +depends=M5GFX,M5Unified,FastLED,HX711 Arduino Library \ No newline at end of file