Skip to content

tfeldmann/rust-schmitttrigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Schmitt-Trigger library

Basic usage:

let mut trigger = SchmittTrigger::new(5, 10);
trigger.input(4)  // false
trigger.input(12) // true
trigger.input(6)  // still true
let result = trigger.output() // true

Works with any type that has the PartialEq trait.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Languages