Guys, I'm trying to use the Serial.setTxBit() function for the TX pin on ATtiny85 with ATtinyCore but the TX pin doesn't change, it always stays on PB0.
void setup() {
Serial.setTxBit(2);
Serial.begin(9600);
delay(100);
}
void loop() {
if (Serial.available() > 0) {
String receivedString = Serial.readString();
if (receivedString == "Hello") {
// Envia a mensagem "World!!!" pela comunicação serial
Serial.println("World!!!");
}
}
}