Hello!
Im new to mcu like this generic bluepill stm32f103c8, using arduino ide 2.3.2, I need to make a mod to this simple blink program to use the internal clock (hsi oscilator) but i have not found how to be able to do it,it is now working HSE fine in my arduino ide environment with my stlink v2 upload method.. not with HSI.
what would you change or add to the code, to use the int clock in a bluepill? i have remove the crystal from the board.
HardwareSerial my_serial_name(USART3, PB10, PB11);
#define pinLED PC13
void setup() {
my_serial_name.begin(9600); // on PB11 PB10
pinMode(pinLED, OUTPUT);
}
void loop() {
digitalWrite(pinLED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(2000); // wait for a second
digitalWrite(pinLED, LOW); // turn the LED off by making the voltage LOW
delay(1000);
my_serial_name.println("La verdad es que anda");
}