kouki_ras
@kouki_ras

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

Arduinoで発生したエラー?について

解決したいこと

ここに解決したい内容を記載してください。

Alliexpressで購入したmics6814をArduino pro microで動かそうと思っているのですが、エラー?らしきものが、表示されていて先に進めません。

発生している問題・エラー

Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44


または、問題・エラーが起きている画像をここにドラッグアンドドロップ

該当するソースコード


const int S_analog = 1023.0;

int co, nh3; 
float no2;
  
void setup() {
  Serial.begin(9600);
}

void loop() {
  co = map (analogRead(A0), 0, S_analog, 1, 1000);         
  nh3 = map (analogRead(A1), 0, S_analog, 1, 500);            
  no2 = (map (analogRead(A2), 0, S_analog, 5, 1000)) / 100.0 ; 
  
  Serial.print("CO: ");
  Serial.print(co);
  Serial.print(" ppm\t");
  Serial.print("NH3: ");
  Serial.print(nh3);
  Serial.print("ppm\t");
  Serial.print("NO2: ");
  Serial.print(no2);
  Serial.println("ppm");

  delay(1000);
}

自分で試したこと

ここに問題・エラーに対して試したことを記載してください。
Arduinoの再インストール

Arduinoを使い始めたものなので、そこのところはご理解のほどよろしくお願いいたします。

0

1Answer

  • Arduino IDE は、Arduino pro micro を認識しているのでしょうか?
  • Arduino IDE のバージョンいくつをお使いでしょうか?
  • Arduino pro micro は、Arduino純正品でしょうか? 互換品でしょうか?
  • エラーが起きたと思われるタイミングで、Arduino IDE 画面全体のスクリーンショットを撮って、ここへ貼り付けることはできますでしょうか?
0Like

Your answer might help someone💌