Re: Using the internal (HSI) generator f103c8t6
Posted: Mon Jan 27, 2020 12:02 pm
Hi Steve,I checked the test sketch on the Maple mini Board, everything works with quartz, but it doesn't work without quartz
Code: Select all
#define USE_HSI_CLOCK 1
void setup() {
// put your setup code here, to run once:
pinMode(PA0,OUTPUT);
pinMode(PA1,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(PA0,HIGH);
digitalWrite(PA1,HIGH);
delay(1000);
digitalWrite(PA0,LOW);
digitalWrite(PA1,LOW);
delay(1000);
}