Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find SoftwareSerial.h library for arduino?

I include SoftwareSerial.h in my code. But when I compile the code, following error occurs:

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?

like image 801
Tapu Mandal Avatar asked Oct 27 '25 08:10

Tapu Mandal


2 Answers

In my desktop its at Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src while other libraries like sdcard eeprom reside at Program Files (x86)\Arduino\libraries

like image 56
Asim Kumar Mahakul Avatar answered Oct 29 '25 03:10

Asim Kumar Mahakul


How did you install the arduino compiler? This is a standard library that is part of the install.

You could try looking in your /libraries subfolder of the main arduino folder. the file should be in there. Is it?

like image 34
djUniversal Avatar answered Oct 29 '25 03:10

djUniversal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!