ATTINY 85 Serial Monitor � characters

Hello, I have a basic problem with my ATTiny Serial prints.
I am learning and want to basically print something from the Attiny to my arduino Serial Monitor, but i get strange characters displayed whatever baud rate or internal clock i set



Here is my program:

#include <Arduino.h>
#include <SoftwareSerial.h>

const int Rx = PB0;

const int Tx = PB1;

SoftwareSerial mySerial(Rx, Tx);

void setup() {
    mySerial.begin(2400);
}

void loop() {
  mySerial.println("test");
  delay(100);

}

Thank you for your help !

I am not sure if a UNO can act as a serial adapter for another MCU while the AT328 is still in it's socket. Especially if there is still some software running on it that also uses the serial adapter. Like ArduinoISP, that you have wired it up for.

Perfect it worked using a FTDI and getting the output from minicom thank you !

The Uno can act as a TTL-to-USB adapter; just keep the 328P in reset.

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