Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

sin_q12

Function sin_q12 

Source
pub fn sin_q12(angle_q12: u16) -> i32
Expand description

sin(angle_q12) as a Q1.12 value. Input wraps modulo 4096.