m5stack / M5StickC-Plus

M5StickCPlus Arduino Library
MIT License
359 stars 90 forks source link

M5StickCPlus example compile error #58

Closed piaoxuebingfeng closed 2 months ago

piaoxuebingfeng commented 2 months ago

Describe the bug

file included from /tmp/.arduinoIDE-unsaved2024524-27760-17nfgmt.nmew/getValue/getValue.ino:2: /home/qiao/Arduino/libraries/M5StickC-Plus/src/M5StickCPlus.h:119:8: error: extended character “ is not valid in an identifier 119 | #error “This library only supports boards with ESP32 processor.” | ^ /home/qiao/Arduino/libraries/M5StickC-Plus/src/M5StickCPlus.h:119:64: error: extended character ” is not valid in an identifier 119 | #error “This library only supports boards with ESP32 processor.” | ^

To reproduce

in arduino-2.3.2 ,import M5StickC-Plus and compile Button.ino example ,compile error.

Expected behavior

compile success

Screenshots

No response

Environment

Additional context

No response

Issue checklist

Tinyu-Zhao commented 2 months ago

Thank you, fixed.

gaodianzhuo commented 4 weeks ago

@Tinyu-Zhao same error,fixed?

Tinyu-Zhao commented 3 weeks ago

Reference

下载最新的代码