Page 1 of 1

stm32 proteus simulation not working

Posted: Mon Jul 10, 2023 10:45 pm
by MuhammadAlMahdi
Guys I'm making a simulation for stm32f103c6 the code written on Arduino IDE. I'm testing a simple LED blink on proteus and it's not even working.


Code: Select all

#include<Arduino.h>
#include<variant.h>


void setup() {
  
  pinMode(PB1,OUTPUT );
}


void loop() {
  digitalWrite(PB1, HIGH);  
  delay(1000);                      
  digitalWrite(PB1, LOW);   
  delay(1000);                      
}
I'm sure that I Exported .hex file from Arduino IDE and STM32 board manager is installed on my Arduino boards manager.