Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hddtempserial
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oleg Nikulin
hddtempserial
Commits
bd0e1274
Commit
bd0e1274
authored
Jul 05, 2023
by
Oleg Nikulin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Увеличен предел накопления i-компоненты
parent
fe305cc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hddtempserial.ino
hddtempserial/hddtempserial.ino
+2
-2
No files found.
hddtempserial/hddtempserial.ino
View file @
bd0e1274
...
...
@@ -12,7 +12,7 @@
#define MAX_PWM_DUTY_CYCLE 254 //Максимальная скважность ШИМ
//если true, вентилятор не будет полностью включаться/выключаться. Всегда будет какой-то шим
#define CONSTRAIN_MIN true
#define CONSTRAIN_MAX
tru
e
#define CONSTRAIN_MAX
fals
e
#define OFF_DUTY_CYCLE 0 //Условная скважность, при которой на самом деле вентиялтор выключен
#define ON_DUTY_CYCLE 255 //Условная скважность, при которой на самом деле вентиялтор постоянно включен
#define DEFAULT_PWM_DUTY_CYCLE ON_DUTY_CYCLE //Скважность ШИМ по умолчанию (до подключения к пк)
...
...
@@ -159,7 +159,7 @@ float k_p = 40;
float
k_i
=
0.005
;
float
k_d
=
0
;
float
i_max
=
210
;
float
i_max
=
ON_DUTY_CYCLE
;
enum
pc_command_codes
{
initialize
=
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment