Hello, I made this simple program with the ATiny85 option (in the bootloader) 8MHz internal. I tested it on proteus because I don't have the physical hardware here. Worked perfectly.
I'm using Arduino IDE 2.1.1 and ATtinyCore 1.5.2.
Then only I changed ATtiny core from version 1.5.2 to 2.0.0-dev. It compiled normally and I simulated it in proteus and it doesn't work. You receive the following message from the image.
I saw that in version 1.5.2 the OSCCAL register was at 0x80 and with version 2.0.0-dev it is at 0x00.
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
delay(100);
}
void loop() {
// put your main code here, to run repeatedly:
if (Serial.available()) {
String receivedString = Serial.readString();
if (receivedString == "Hello") {
Serial.println("World!!!");
}
}
}