在platformio编译arduino项目的时候,如果提示fatal error: TimeLib.h: No such file or directory,解决方法有2:
fatal error: TimeLib.h: No such file or directory
在项目的platformio.ini文件中,添加
platformio.ini
lib_deps = # Using library Id 44
通过library添加到项目中 然后platformio.ini会自动修改:
lib_deps = paulstoffregen/Time@^1.6.1