Open johnwargo opened 4 hours ago
I decided to start over from scratch and deleted all of the M5Stack libraries from the IDE. Next, I restated the Arduino IDE and installed the M5Stack
library as you described in the instructions. When I compile the sketch after the library installation, I get the following error:
D:\dev\hardware\M5Stack\KeychainSkimmerScanner\main\main.ino:9:10: fatal error: M5CoreInk.h: No such file or directory
9 | #include "M5CoreInk.h"
| ^~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: M5CoreInk.h: No such file or directory
So I added the M5Core-Ink
library to my Arduino IDE configuration and got the error messages shown above.
Can you please share how you were able to compile this sketch?
@kevinl95 I purchased a new M5Stack CoreInk device, downloaded the code, and tried to compile it with no success..
The code generates some warnings, but I assume the sketch will compile even with those warnings. Did you see those warnings when you worked on the code?
The IDE also generates a bunch of errors based on issues it sees with the M5Stack
M5Core-Ink
library (listed below). But looking at theM5Core-Ink
project I do see thatledcSetup
andledcAttachPin
aren't in the library (as I expected based on the error). So I'm trying to understand how you were able to compile the code. I tried compiling this with theM5Stack
libraries installed in the Arduino IDE then deleted them and installed just theM5StackCore-Ink
libraries.