ATtiny85 SoftwareSerial

Guys, I'm making code for ATtiny85 using ATtinyCore Universal core and using SoftwareSerial.

When I configure SoftwareSerial this way it works
const int RX_PIN = 0;
const int TX_PIN = 2;

But when it's the other way around
const int RX_PIN = 2;
const int TX_PIN = 0;

What could be causing the code not to work?

Did you also swap the cables?

You may want to read this and the use of Serial.setTxBit(bit)

AttinyCore has a built in SoftwareSerial called Serial

Now I'm using the Serial from SoftwareSerial from ATtinyCore itself.

But I think the setTxBit() function is not working.

Does it work only in version 2.0 of Core?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.