schmitttrigger 1.0.0

A generic SchmittTrigger implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# Rust Schmitt-Trigger library

Basic usage:

```rust
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.