+
+ +
+

Arduino

+

Arduino.ino sample です。src/sketch_feb25a.ino に、ソースコードの例を示します。

+

強調したい場合、たとえば +ソースコード make は、このようになります。$ hoge のようになります。

+
+
src/sketch_feb25a.ino
+
void setup() {
+  // put your setup code here, to run once:
+
+}
+
+void loop() {
+  // put your main code here, to run repeatedly:
+
+}
+
+
+
+
+
src/factorytest.ino
+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
#include "M5StickCPlus.h"
+#include "fft.h"
+#include "esp_pm.h"
+#include <rom/crc.h>
+#include <driver/i2s.h>
+#include <driver/rmt.h>
+
+#include <BLEDevice.h>
+#include <BLEServer.h>
+#include <BLEUtils.h>
+typedef struct
+{
+    point_3d_t start_point;
+    point_3d_t end_point;
+} line_3d_t;
+
+typedef struct
+{
+    double x;
+    double y;
+} point_2d_t;
+
+
+
+
+ + +
+ +