LoginSignup
0
0

More than 3 years have passed since last update.

wemosでsin波

Posted at

概要

シリアルプロッターで表示した。

写真

無題.jpg

サンプルコード

#include <math.h>

float a = 0;

void setup() {
    Serial.begin(115200);
    while (!Serial)
    {
        ;
    }
}
void loop() {
    a = a + 0.1;
    delay(100);
    Serial.println(sin(a), 6);
}


以上。

0
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
0
0