I include SoftwareSerial.h
in my code. But when I compile the code, following error occurs:
我包括SoftwareSerial。在我的代码。但是当我编译代码时,会发生以下错误:
GPS_TEST_3.ino:2:28: fatal error: SoftwareSerial.h: No such file or directory
compilation terminated.
Error compiling
Any idea on this? Where the header file is located?
任何想法吗?头文件位于何处?
1 个解决方案
#1
1
How did you install the arduino compiler? This is a standard library that is part of the install.
你是如何安装arduino编译器的?这是一个标准库,是安装的一部分。
You could try looking in your /libraries subfolder of the main arduino folder. the file should be in there. Is it?
您可以尝试查看主arduino文件夹的/libraries子文件夹。文件应该在那里。是吗?
#1
1
How did you install the arduino compiler? This is a standard library that is part of the install.
你是如何安装arduino编译器的?这是一个标准库,是安装的一部分。
You could try looking in your /libraries subfolder of the main arduino folder. the file should be in there. Is it?
您可以尝试查看主arduino文件夹的/libraries子文件夹。文件应该在那里。是吗?