1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

STM32C011F4P6 Lチカ (販売コード(129557))ブレークアウトモジュール

Last updated at Posted at 2025-08-23

いろいろ注意

  • 過去ログを見よ!!!
  • なぜか、最近は、16kしか、書けなく、なっている?
  • 書き込み器は、[シンセ先輩]から理系フリマで、ほぼ、貰った。20250830ある
  • 秋月のマイコンの人気では、8ビットのPICが、圧倒に強い。
  • イニシャライズに、ほぼ、11k使うので、何も出来ない?
  • 秋月電子で売っている。
  • めんどいので、STM32C0116-DKを選択((使用)ボードの設定((メニュー)(ツール)
  • PB6がLED

結果

Screenshot from 2025-08-24 06-37-19.png

Screenshot from 2025-08-24 06-38-11.png

Screenshot from 2025-08-24 06-43-04.png

プログラム


/*
  Blink

  Turns an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
  the correct LED pin independent of which board is used.
  If you want to know what pin the on-board LED is connected to on your Arduino
  model, check the Technical Specs of your board at:
  https://docs.arduino.cc/hardware/

  modified 8 May 2014
  by Scott Fitzgerald
  modified 2 Sep 2016
  by Arturo Guadalupi
  modified 8 Sep 2016
  by Colby Newman

  This example code is in the public domain.

  https://docs.arduino.cc/built-in-examples/basics/Blink/
*/

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}



1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?