: AltSoftSerial.h: No such file or directory

Guys
Loking for advice please
Iam getting a compilation error : AltSoftSerial.h: No such file or directory
I have checked the library directory in Arduinoin and AltSoftSerial is listed under libraries.
any help would be appreciated.
I am using Arduino Nano and HM-10

Thanks oldguyjn

`

#include <AltSoftSerial.h>

AltSoftSerial bluetoothSerial;




boolean NL = true;

void setup() {

Serial.begin(9600);

while (!Serial) ;

bluetoothSerial.begin(9600);

}




void loop() {

char Serialdata;




if (Serial.available()) {

Serialdata = Serial.read();

bluetoothSerial.print(Serialdata);




if (Serialdata!=10 & Serialdata!=13 )

{

bluetoothSerial.write(Serialdata);

}

if (NL) { Serial.print("\r\n>"); NL = false; }

Serial.write(Serialdata);

if (Serialdata==10) { NL = true; }

}

if (bluetoothSerial.available()) {

Serialdata = bluetoothSerial.read();

Serial.print(Serialdata);

}

}

``

Where exactly is AltSoftSerial.h located on your PC and what is Arduinoin ?

Isn't HM-10 BLE ?

Guys
Thanks for the prompt repliies.
The path is as follows C:\Onedrive\name-Personel\Documents\Arduino\Libraries
Arduino is in the documents Library and AltSoftSerial is in the library directory of Arduino
click on Documents > Arduino>Libraries>AltSoftSerial
hope this makes sense>
Thanks oldguyjn

I am still confused as to what you are saying but it sounds like you have a folder named AltSoftSerial in the C:\Onedrive\name-Personel\Documents\Arduino\Libraries folder. If so, what is in that folder ?

I note that your Sketchbook folder is in the Onedrive folder. I have previously seen reports that this can cause problems, but I am not clear as to what causes it and whether it always causes problems

I am going to try and by bypass one drive and install Arduino directly onto the harddrive when I click on Documents I then click on the Arduino folder and this opens the library folder which is where AltSoftSerial is located
Thanks again for replying to my posts.
oldguyjn

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.