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?

M5StampS3、Lチカで遊ぶ。( Ubuntu 24.04 lts , Arduino IDE 2 )

Last updated at Posted at 2025-01-02

x 過去ログをみょ!!!
x かなり省略、各自、調査せよ!!!

目的
古い中古パソコンでM5の実行環境を作って遊ぶ
M5Stamp S3 内蔵の WS2812B を Lチカ

結果(成功)

o_coq733.jpg

o_coq734.jpg

● まず、ぶっさす。とりま「dmesg」


sudo dmesg

o_coq735.jpg

● ボードの選択「M5StampS3」

o_coq736.jpg

o_coq737.jpg

● シリアルの選択

o_coq738.jpg

● プログラムの貼り付け、コンパイル、実行




//WS2812_test1_M5S3_1


//初期化
void setup() {

  //GPIOの初期化
  pinMode(21, OUTPUT);
  
}//setup


//メインループ
void loop() {
  
  neopixelWrite(21,64,64,64);

  delay(1000);

  neopixelWrite(21,64,0,0);

  delay(1000);
 
}//loop




o_coq739.jpg

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?