From a4f70118647b1e7922fbf79aa1bc981b77a818f4 Mon Sep 17 00:00:00 2001 From: Changwoo Park Date: Tue, 8 Aug 2023 11:36:28 +0900 Subject: [PATCH] AI read : 10ms x 20 samples --- FC_InterfaceBoard/FC_InterfaceBoard.h | 6 +++++- FC_InterfaceBoard/FC_InterfaceBoard.ino | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/FC_InterfaceBoard/FC_InterfaceBoard.h b/FC_InterfaceBoard/FC_InterfaceBoard.h index a1ed167..c1bb659 100644 --- a/FC_InterfaceBoard/FC_InterfaceBoard.h +++ b/FC_InterfaceBoard/FC_InterfaceBoard.h @@ -3,8 +3,12 @@ #include // Ethernet2 v1.0.4 #include "GP8403.h" -#define AI_AVG_SIZE 50 +#define VERSION "23-08-08 09:37" +#define COMMENT "AI 10ms x 20" + #define AI_RANGE 10 +#define AI_AVG_SIZE 20 + /* ---------- Init ---------- */ bool Init_AO = false; diff --git a/FC_InterfaceBoard/FC_InterfaceBoard.ino b/FC_InterfaceBoard/FC_InterfaceBoard.ino index 7d1923d..fb79610 100644 --- a/FC_InterfaceBoard/FC_InterfaceBoard.ino +++ b/FC_InterfaceBoard/FC_InterfaceBoard.ino @@ -13,8 +13,10 @@ String IdeSerial; // for 485_0 void setup() { // Serial setup (Debug) Serial.begin(9600); - Serial.println("Start!"); - + Serial.print("Version ::: "); + Serial.println(VERSION); + Serial.print("Comment ::: "); + Serial.println(COMMENT); // modules setup (init.) Ethernet_setup(); GPIO_setup();