AI read : 10ms x 20 samples

main
Changwoo Park 1 year ago
parent 5834e23263
commit a4f7011864

@ -3,8 +3,12 @@
#include <Ethernet2.h> // 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;

@ -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();

Loading…
Cancel
Save