-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcogestimator.ino
More file actions
42 lines (34 loc) · 1.08 KB
/
cogestimator.ino
File metadata and controls
42 lines (34 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*************************************
YamaX Arduino Core v3.0 with auto-stabilization system
To burn on AX-03 for YamaX 4.3
made by Y-modify, Nyanyan & coord.e
Copyright © 2017 Y-modify All Rights Reserved.
QIO,80,160,4M(1M),Disabled,none,nodemcu,115200~
*************************************/
#include "fake_stream.h"
#include "wire_reciever.h"
#include "serial_control.h"
#include "measure.h"
#define FIRMWARE_VER "1.0"
void setup() {
Serial.begin(115200);
print_version();
strm::cout << "Initializing" << strm::endl;
measure::setup();
serial_control::setup();
wire_reciever::setup();
strm::cout << "Complete" << strm::endl;
}
void loop() {
serial_control::check_command();
delay(1);
}
void print_version() {
strm::cout << strm::endl
<< "*************************************" << strm::endl
<< "COMEstimator v" << FIRMWARE_VER << strm::endl
<< "Made by Y-modify, Nyanyan & coord.e" << strm::endl
<< "Copyright (c) 2018 Y-modify All Rights Reserved." << strm::endl
<< "*************************************" << strm::endl
<< strm::endl;
}