Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Get a specific frequency from various crystals & divisors

by roboticus (Chancellor)
on Feb 16, 2013 at 18:29 UTC ( #1019055=CUFP: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Crystals, Oscillators & ceramic resonators.  All freq in MHz
    # TODO: find way to specify tolerance: currently just using stated fre
    +quency
    ...
    RES     7.37        # ? "737 Cm 219"
    RES     10.7
    RES     16.93
    
  2. or download this
    actualFreq (error) = startFreq / divisor "div =" factors
    
  3. or download this
    $ ./find_xtal.pl 175k k5
    
    ...
        174,536 (    464) =  16,930,000 /   97  div = 97              
        175,476 (    476) =   7,370,000 /   42  div = 2 * 3 * 7       
    
  4. or download this
    #!/usr/bin/perl
    my $usage = <<EOHDR;
    ...
    
        return @factors;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://1019055]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-07-04 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls