Ciao a tutti! ![]()
Lo so che è imbarazzante ma non riesco a trovare in rete la libreria Software Serial per le schede Arduino Nano (Atmega328P) o Mega...
Ho provato qui:
https://docs.arduino.cc/learn/built-in-libraries/software-serial/
E non funziona il link... e non c'è nessuna voce che va su gitHub ![]()
Se scrivo semplicemente "Software Serial Arduino" mi escono fuori mille librerie per schede Teensy, STM32, ESP32 ecc ma non per le schede Arduino AVR...
Ne avrei bisogno ![]()
Grazie a tutti!!!
EDIT:
ho provato questa > GitHub - sirleech/NewSoftSerial: Forked for version control on GIT
e questa > SoftwareSerial Library, DO NOT USE. NewSoftSerial works much better.
ma entrambe non danno errore di compilazione ![]()
Manca il file: #include <wconstants.h>
Ho letto sul forum questo:
e l'utente system dice:
Your problem should be solved if you look up this solution at King Au's web page - Cannot find WConstants.h
![]()
"When compile an Arduino Library, it fails to compile with the message:
error: WConstants.h: No such file or directory
The solution is to delete the line
#include "WConstants.h"
and then in the .h file, add the following:
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
This way, the code will compile, and it will be compatible to Arduino 0023 and 1.0 versions."
Ho fatto come hanno detto ma poi escono un sacco di altri errori ![]()
Mi sembra veramente assurdo che in 2 ore
non sia riuscito ancora a trovare una libreria funzionante...