Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HEV - High Energy Ventilator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
HEV - High Energy Ventilator
Commits
aadf8eb8
Commit
aadf8eb8
authored
Mar 04, 2021
by
Derick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected pwm init
parent
859ebdec
Pipeline
#1026
failed
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.cpp
arduino/hev_prototype_v1/src/main.cpp
+1
-1
No files found.
arduino/hev_prototype_v1/src/main.cpp
View file @
aadf8eb8
...
...
@@ -104,7 +104,7 @@ void setup()
pinMode
(
pin_led_red
,
OUTPUT
);
// use channel for 4 of PWM generator to output calculated FiO2
ledcSetup
(
pwm_chan_debug
,
pwm_
resolution_debug
,
pwm_frequency
_debug
);
// channel 4, Frequency 500, 8bit resolution
ledcSetup
(
pwm_chan_debug
,
pwm_
frequency_debug
,
pwm_resolution
_debug
);
// channel 4, Frequency 500, 8bit resolution
ledcAttachPin
(
pin_spare_2
,
pwm_chan_debug
);
//pinMode(pin_buzzer, OUTPUT);
...
...
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