-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Hello,
Congratulations for this repository.
I recently used a project with Arduino SoftwareSerial Library, I was wondering if it works even with KNXdevice.h + TPUART interface.
So I did a test.
My configuration was:
- Arduino nano (supply by PC)
-
- optocoupler pin7(Rx), pin8(Tx) Arduino Nano (supply: by PC and by bus_knx respectly)
-
- TPUART pin7==> pinTxD_knx ; pin8==>RxD_knx (supply by bus_knx)
Some pieces of code _test_softserial_knx.txt attach files.
However, I had the following compilation problem:....................................................................................................................
test_softserial_knx:85:35: error: no matching function for call to 'KnxDevice::begin(SoftwareSerial&, word)'
Knx.begin(SerialS, P_ADDR(1,1,80)); // start a KnxDevice session with physical address 1.1.80 on SerialS
\KnxDevice-master/KnxDevice.h:133:23: note: candidate: e_KnxDeviceStatus KnxDevice::begin(HardwareSerial&, word)
e_KnxDeviceStatus begin(HardwareSerial& serial, word physicalAddr);
\KnxDevice-master/KnxDevice.h:133:23: note: no known conversion for argument 1 from 'SoftwareSerial' to 'HardwareSerial&'
Uso la libreria KnxDevice-master nella cartella: ...\libraries\KnxDevice-master (legacy)
Uso la libreria SoftwareSerial alla versione 1.0 nella cartella: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial
exit status 1
no matching function for call to 'KnxDevice::begin(SoftwareSerial&, word)'
...........................................................................................................................
Is there a way to get around this problem?
Thank you.
Samuele
_test_softserial_knx.txt