User Tools

Site Tools


stm32:black_pill

This is an old revision of the document!


STM32 Black Pill

drivers

https://www.st.com/content/ccc/resource/technical/software/utility/51/c4/6a/b0/e2/0f/47/e5/stsw-link004.zip/files/stsw-link004.zip/_jcr_content/translations/en.stsw-link004.zip

https://wiki.stm32duino.com/index.php?title=Black_Pill

blink

void setup()
{
  pinMode(PB12, OUTPUT);
}
 
void loop() {
  digitalWrite(PB12, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(100);                       // wait for a second
  digitalWrite(PB12, LOW);    // turn the LED off by making the voltage LOW
  delay(100);                       // wait for a second
}
stm32/black_pill.1555232701.txt.gz · Last modified: by aistis