maioscott.blogg.se

Arduino problem with libraries softwareserial and wire together
Arduino problem with libraries softwareserial and wire together







arduino problem with libraries softwareserial and wire together arduino problem with libraries softwareserial and wire together arduino problem with libraries softwareserial and wire together

I've tried to find solution myself, but somehow i'm getting lost.My two arduino communicating serially with XBee. No matching function for call to 'SoftwareSerial::SoftwareSerial()' home/san/.local/share/umake/ide/arduino/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.h:47:7: note: candidate expects 1 argument, 0 provided home/san/.local/share/umake/ide/arduino/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.h:47:7: note: constexpr SoftwareSerial::SoftwareSerial(const SoftwareSerial&) home/san/.local/share/umake/ide/arduino/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.h:89:3: note: candidate expects 3 arguments, 0 provided SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic = false) home/san/.local/share/umake/ide/arduino/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.h:89:3: note: SoftwareSerial::SoftwareSerial(uint8_t, uint8_t, bool) In file included from /home/san/Projekty/pHmetr/rs8/rs8.ino:1:0: home/san/Projekty/pHmetr/rs8/rs8.ino:26:3: note: candidates are: Rs8:26: error: no matching function for call to 'SoftwareSerial::SoftwareSerial()' Public: pH(uint8_t tx, uint8_t rx, long pHgap)īut get this: /home/san/Projekty/pHmetr/rs8/rs8.ino: In constructor 'pH::pH(uint8_t, uint8_t, long int)': and initializes the member variables and state SoftwareSerial pHrs = new SoftwareSerial(90,90) put your main code here, to run repeatedly: put your setup code here, to run once: I'm trying to build class inside of wich i read from SoftwareSerial, and make something with that later. I'm trying to build some class, it's been a very long time since i've been making OOP, and mostly i've forgot everything )









Arduino problem with libraries softwareserial and wire together