rust-embedded / rust-sysfs-pwm

Linux PWM Access via Sysfs in Rust
Apache License 2.0
47 stars 16 forks source link

Use f64 for increased precision #21

Open mpi3d opened 1 year ago

mpi3d commented 1 year ago

f32 use 23 bits for the fractional part. But it's not enough to cover the full u32 range provided by the kernel.