Trying to work with a Nextion hmi and the code won't compile to upload. Error "softwareserial.h" not found. It doesn't show up in the libraries drop down menu, unless I select a board different than the d21g (ie if I change to the mega 2650, it's there) I've tried updating all the libraries from Indio and updated the IDE (from 1.8.3 to 1.8.9) I compiled this code in the past, and successfully uploaded it. But now I need to make some updates to the system.
hi, softwareserial is indeed not available on Arduino M0 type boards such as the Industruino D21G, for the reason that there are usually enough hardware serials available. so it should be relatively easy to re-write your code to use Serial on D0/D1 or Serial1 on D10/D5 ; also see this post https://industruino.com/forum/help-1/question/softwareserial-with-odriverobotics-712
if you can provide the library you are using, we can have a look
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!