Using SoftwareSerial withOneWire (RX=TX Pin) option do work

Hi,

For clarification: SoftwareSerial is a software library to create a serial port from the SeeedStudio environment in the Arduino IDE. A special configuration of such a serial port, namely when sending and receiving on one line only, is called OneWire.

The following configuration of a serial port with this library defines a serial port with only one line (rxPin = txPin=0 -> One Wire) and inverted signal. Once the option inverted (true) is used, the serial port will not work.

#include <SoftwareSerial.h>

const byte rxPin = 0;
const byte txPin = 0;
SoftwareSerial mySerial (rxPin, txPin, true);