Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
IMPETOM-Clínico
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martina Barreiro Guerra
IMPETOM-Clínico
Commits
370a78f9
Commit
370a78f9
authored
2 years ago
by
Martina Barreiro Guerra
Browse files
Options
Downloads
Patches
Plain Diff
Multiplexores
parent
81c7dca5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Arduino/Multiplexores.ino
+26
-0
26 additions, 0 deletions
Arduino/Multiplexores.ino
with
26 additions
and
0 deletions
Arduino/Multiplexores.ino
0 → 100644
+
26
−
0
View file @
370a78f9
/*
* Estas cinco funciones que siguen se utilizan para tener control sobre las habilitaciones de los mux de tensión y corriente
* Simplemente enmascaran a las funciones de digitalWrite y permiten la habilitación y deshabilitación de los mux de una forma más descriptiva.
* Recordar que los multiplexores CD74HC4067 son activos por LOW, por lo que al utilizar las compuertas NOR son activos por HIGH
*/
void
deshabilitarTodosLosElectrodos
(){
digitalWrite
(
enableTension
,
LOW
);
digitalWrite
(
enableCorriente
,
LOW
);
}
void
habilitarMuxDeTension
(){
digitalWrite
(
enableTension
,
HIGH
);
}
void
deshabilitarMuxDeTension
(){
digitalWrite
(
enableTension
,
LOW
);
}
void
habilitarMuxDeCorriente
(){
digitalWrite
(
enableCorriente
,
HIGH
);
}
void
deshabilitarMuxDeCorriente
(){
digitalWrite
(
enableCorriente
,
LOW
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment