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?

STM32C0116-DKでUSARTシリアル通信

Last updated at Posted at 2025-08-03

いろいろ注意

  • 過去ログを見よ!!!
  • STM32C011の事。

結果

Screenshot from 2025-08-04 06-01-52.png

Screenshot from 2025-08-04 06-02-41.png

イメージ

Screenshot from 2025-08-04 06-06-17.png

プログラム




//インクルド
#include <Arduino.h>


//定義
//#define swdclk PA14 // 17pin
//#define swdio  PA13 // 16pin

// tx PA11[PA9] 14pin
// rx PC12[PA10] 15pin


//初期化
void setup() {
  // put your setup code here, to run once:

  Serial.begin(9600);  // シリアル通信の速度を9600bpsにする。

}  //setup


//メインループ
void loop() {
  // put your main code here, to run repeatedly:

  //シリアル出力
  Serial.println("Hello World !");

  delay(1000);  //1秒待つ

}  //loop



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?