Difference between version 1.5.2 and 2.0.0-dev in Proteus #789
AlessGhitHub
started this conversation in
Support / Q & A
Replies: 1 comment 1 reply
-
Is this difference between these two kernel versions using the same program code something in the kernel or is it something in proteus causing it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Another thing that occurred to me, but I solved it manually by compiling it, is that after complicating the code and when I go to export the hex file, the Arduino IDE does not copy it to the project folder.
`
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!!!");
}
}
}
`
Beta Was this translation helpful? Give feedback.
All reactions