Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

<SoftwareSerial.h> errors
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

<SoftwareSerial.h> errors

by Fireye04 on Tue Mar 17, 2020 4:11 pm

So I'm currently trying to make a Roomba that cusses and screams when it runs into a wall. (yes, I got the idea off youtube) I wanted to make it as inconspicuous as I could, so I purchased the Adafruit Audio FX Mini Sound Board - WAV/OGG Trigger - 2MB Flash and the Arduino Nano 33 BLE. I went through the https://learn.adafruit.com/adafruit-audio-fx-sound-board and got the code to manage the Audio board. The problem is it keeps giving me this error:

Arduino: 1.8.9 (Windows 10), Board: "Arduino Nano 33 BLE"

menucommands:12:10: error: SoftwareSerial.h: No such file or directory

#include "SoftwareSerial.h"

^~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1
SoftwareSerial.h: No such file or directory

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


(this was directly copied from the console)

Any help would be appreciated! Thanks.

Fireye04
 
Posts: 1
Joined: Tue Mar 17, 2020 3:59 pm

Re: <SoftwareSerial.h> errors

by adafruit_support_carter on Thu Mar 19, 2020 2:52 pm

Software serial support on the NRF is still an open issue:
https://github.com/sandeepmistry/arduino-nRF5/issues/98
related:
https://github.com/sandeepmistry/arduin ... issues/141

You should be able to use hardware serial though.

adafruit_support_carter
 
Posts: 17112
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.