I tried compiling a simple test in Arduino using MightyCore for ATmega32, but it doesn't work. It only works if I use a software serial and put a serial port peripheral to read it.
Using hardware serial:
Using software serial:
Using hardware serial:
- Code:
void setup() {
Serial.begin(9600);
Serial.println("This is a test");
}
void loop() {
}
Using software serial:
- Code:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8, 9);
void setup() {
mySerial.begin(9600);
mySerial.println("This is a test");
}
void loop() {
}
Last edited by hilmiyafia on Sat Aug 12, 2023 3:01 am; edited 1 time in total (Reason for editing : Image were cropped)