Compilation error: 'EEPROM' does not name a type; did you mean 'EPERM'?
时间: 2023-12-26 20:04:30 浏览: 221
关于EEPROM数据出错问题的探讨
This error occurs when the compiler cannot find the definition of the data type 'EEPROM' that is being used in the code. Instead, it suggests a similar data type 'EPERM' which might have been misspelled.
To fix this error, ensure that the 'EEPROM' library is included at the beginning of the code by adding the following line:
#include <EEPROM.h>
Also, make sure that the data type 'EEPROM' is spelled correctly throughout the code.
阅读全文