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?

M5stack StampS3を買ったのでI2Cで遊ぶ。(予備実験)(ESP32-S3)

Last updated at Posted at 2024-03-30

x 世の中、舐めていた。ごめんなさい。(1.27mmハープピッチ)

x いろいろ、失敗したので、もう一度、仕切り直すので、お時間が掛ります。(20240331)

目的
I2Cのテスト
===完成(202404010636)

o_coq008.jpg

o_coq009.jpg

結果 へんな液晶は、0x80に送られた文字をそのまま表示する。オリジナルハードです。(よろぴく)

o_coq010.jpg

プログラム



//GPIO_I2C_A_M5S3_1


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


//初期化
void setup() {

  Wire.begin();  //I2Cの初期化

} //setup


//メインループ
void loop() {

  //一文字転送
  Wire.beginTransmission( (0x80) >> 1 );
  Wire.write('A');
  Wire.endTransmission();
  delay(1);

  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?