Hi,
I tried to use AltSoftSerial Library to connect the tsunami to the the Arduino Uno:
digital ports 8 for RX and 9 for TX, as indicated by AltSoftSerial website;
I tried to launch the TsunamiDemo sketch,
so I included AltSoftSerial and Tsunami-Arduino-Serial-Library-master and Metro libraries;
I got this message:
"
Arduino:1.8.11 (Windows 10), Scheda:“Arduino Uno”
In file included from C:\Users\sotax\Documents\Arduino\libraries\Tsunami-Arduino-Serial-Library-master/Tsunami.h:69:0,
from C:\Users\sotax\Documents\Arduino\libraries\Tsunami-Arduino-Serial-Library-master\examples\TsunamiDemo\TsunamiDemo.ino:46:
c:\users\sotax\documents\arduino\libraries\altsoftserial\altsoftserial.h: In constructor ‘AltSoftSerial::AltSoftSerial(uint8_t, uint8_t, bool)’:
c:\users\sotax\documents\arduino\libraries\altsoftserial\altsoftserial.h:64:24: warning: unused parameter ‘rxPin’ [-Wunused-parameter]
AltSoftSerial(uint8_t rxPin, uint8_t txPin, bool inverse = false) { }
^~~~~
c:\users\sotax\documents\arduino\libraries\altsoftserial\altsoftserial.h:64:39: warning: unused parameter ‘txPin’ [-Wunused-parameter]
AltSoftSerial(uint8_t rxPin, uint8_t txPin, bool inverse = false) { }
^~~~~
c:\users\sotax\documents\arduino\libraries\altsoftserial\altsoftserial.h:64:61: warning: unused parameter ‘inverse’ [-Wunused-parameter]
AltSoftSerial(uint8_t rxPin, uint8_t txPin, bool inverse = false) { }
^~~~~
c:\users\sotax\documents\arduino\libraries\altsoftserial\altsoftserial.h: In static member function ‘static void AltSoftSerial::enable_timer0(bool)’:
c:\users\sotax\documents\arduino\libraries\altsoftserial\altsoftserial.h:69:33: warning: unused parameter ‘enable’ [-Wunused-parameter]
static void enable_timer0(bool enable) { }
^~~~~~
C:\Users\sotax\AppData\Local\Temp\ccHkGXQe.ltrans0.ltrans.o: In function `update’:
C:\Users\sotax\Documents\Arduino\libraries\Tsunami-Arduino-Serial-Library-master/Tsunami.cpp:66: undefined reference to `AltSoftSerial::available()’
C:\Users\sotax\Documents\Arduino\libraries\Tsunami-Arduino-Serial-Library-master/Tsunami.cpp:67: undefined reference to `AltSoftSerial::read()’
C:\Users\sotax\AppData\Local\Temp\ccHkGXQe.ltrans0.ltrans.o: In function `flush’:
c:\users\sotax\documents\arduino\libraries\altsoftserial/altsoftserial.h:55: undefined reference to `AltSoftSerial::flushOutput()’
C:\Users\sotax\AppData\Local\Temp\ccHkGXQe.ltrans0.ltrans.o: In function `write’:
c:\users\sotax\documents\arduino\libraries\altsoftserial/altsoftserial.h:54: undefined reference to `AltSoftSerial::writeByte(unsigned char)’
C:\Users\sotax\AppData\Local\Temp\ccHkGXQe.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_TsunamiDemo.ino.cpp.o.1940’:
:(.text.startup+0x68): undefined reference to `vtable for AltSoftSerial’
:(.text.startup+0x6a): undefined reference to `vtable for AltSoftSerial’
C:\Users\sotax\AppData\Local\Temp\ccHkGXQe.ltrans0.ltrans.o: In function `AltSoftSerial::begin(unsigned long)':
c:\users\sotax\documents\arduino\libraries\altsoftserial/altsoftserial.h:47: undefined reference to `AltSoftSerial::init(unsigned long)’
C:\Users\sotax\AppData\Local\Temp\ccHkGXQe.ltrans0.ltrans.o: In function `flush’:
C:\Users\sotax\Documents\Arduino\libraries\Tsunami-Arduino-Serial-Library-master/Tsunami.cpp:52: undefined reference to `AltSoftSerial::available()’
C:\Users\sotax\Documents\Arduino\libraries\Tsunami-Arduino-Serial-Library-master/Tsunami.cpp:53: undefined reference to `AltSoftSerial::read()’
C:\Users\sotax\AppData\Local\Temp\ccHkGXQe.ltrans0.ltrans.o: In function `AltSoftSerial::~AltSoftSerial()':
c:\users\sotax\documents\arduino\libraries\altsoftserial/altsoftserial.h:46: undefined reference to `vtable for AltSoftSerial’
c:\users\sotax\documents\arduino\libraries\altsoftserial/altsoftserial.h:46: undefined reference to `vtable for AltSoftSerial’
c:\users\sotax\documents\arduino\libraries\altsoftserial/altsoftserial.h:46: undefined reference to `AltSoftSerial::end()’
collect2.exe: error: ld returned 1 exit status
exit status 1
"
Should I get an arduino mega instead?
Federico