arduino-tnc

git clone https://git.bradleygannon.com/arduino-tnc.git
Log | Files | Refs

constants.rs (267B)


      1 //! Shared constants for Bell 202 AFSK modem
      2 
      3 pub const MARK_HZ: f32 = 1200.;
      4 pub const SPACE_HZ: f32 = 2200.;
      5 pub const SYMBOL_RATE_HZ: f32 = 1200.;
      6 pub const SAMPLE_RATE_HZ: f32 = 38461.5;
      7 pub const SAMPLES_PER_SYMBOL: u8 = (SAMPLE_RATE_HZ / SYMBOL_RATE_HZ) as u8;