Skip to content

Commit

Permalink
fix example compile issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitshaoxiang committed Dec 4, 2023
1 parent 130b280 commit 0e63f70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions examples/KIT/SCALES_KIT/SCALES_KIT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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 <M5EPD.h>
#include <M5Unified.h>
#include <M5GFX.h>
#include "HX711.h"

Expand All @@ -27,7 +29,7 @@ M5Canvas canvas(&display);
HX711 scale;

void setup() {
M5.begin(true, false, true, true, false);
M5.begin();

display.begin();

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ category=Device Control
url=https://github.com/m5stack/M5EPD
architectures=esp32
includes=M5EPD.h
depends=M5GFX,FastLED,HX711 Arduino Library
depends=M5GFX,M5Unified,FastLED,HX711 Arduino Library

0 comments on commit 0e63f70

Please sign in to comment.