Rust crate for JSY-MK-194
What is JSY-MK-194?
JSY-MK-194 is hardware to get some informations about current, voltage, frequency of AC current.
You found this hardware easly on some chiness website.
Test hardware
This crate has only tested on ESP32-WROOM-32 microcontroler.
Example
First, you need provide implementation of some trait (hardware abstract):
use *;
Then, you need call read()
method:
let mut jsy_my_194 = new;
let _ = jsy_my_194.read;
print!;
That's all!
Changelog
1.0.1
- Rewrite module to be more easy to understand
- Add new public
read_with_timeout
method to allow user set his timeout
License
The code is released under MIT License to allow every body to use it in all conditions. If you love open-source software and this crate, please give some money to HaikuOS or ReactOS.