This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Add SchmittTrigger::isHigh()
tags/v0.4.0
Andrew Belt
7 years ago
parent
e2700409b2
commit
a80eb15b37
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
include/dsp/digital.hpp
+ 3
- 0
include/dsp/digital.hpp
View File
@@ -41,6 +41,9 @@ struct SchmittTrigger {
}
return false;
}
bool isHigh() {
return state == HIGH;
}
void reset() {
state = UNKNOWN;
}
Write
Preview
Loading…
Cancel
Save