This is a simple cli app to help you generate SPWM
lookup table for your projects
You can use prebuilt binaries or build the project with rust compiler
You can install this tool with cargo
cargo install spwm_generator
```
Usage: spwmgenerator [OPTIONS] --sinfreq
Options:
-f, --sinfreq
Generate SPWM
table for C
project
spwm_generator -m c -f 50 -c 10000 -o Table_50Hz.c
or
spwm_generator -m c-hex -f 50 -c 10000 -o Table_50Hz.c
Generate SPWM
table for Rust
project
spwm_generator -m rust -f 50 -c 10000 -o Table_50Hz.c
or
spwm_generator -m rust-hex -f 50 -c 10000 -o Table_50Hz.c