-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathctrloop.h
More file actions
27 lines (22 loc) · 943 Bytes
/
ctrloop.h
File metadata and controls
27 lines (22 loc) · 943 Bytes
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
// Step10V - STEP/DIR to analog amplifier CNC regulator
// Copyright (C) 2018-2019 Charles-Henri Mousset - ch.mousset@gmail.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 3 of the License
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#if !defined(CTRL_LOOP_H)
#define CTRL_LOOP_H
#include "sigf.h"
extern struct signal_float feedback;
extern bool loop_enable;
extern float pid_out;
void ctl_loop(GPTDriver *drv);
void init_ctrloop(void);
#endif