Big Value


Closed Thread
Results 1 to 3 of 3

Thread: Big Value

  1. #1

    Default Big Value

    Hi,

    I make a little PLL Circuit with SDA2121 and I2C all this work fine.
    But I dont know how can I display the Frequenz Value on my RS232.
    Did someone know how can I display on Hserout a Value that > 65535,I have this example:

    N_Divider var word
    N_Divider = 3961

    Frequenz = N_Divider * 25 ''''''''''' 99.250 Mhz

    or

    N_Divider = 4150

    Frequenz = N_Divider * 25 ''''''''''' 103.750 Mhz



    Thank you for any answer.

    Regard Pesti

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hi Pesti,

    Piece of cake...
    Code:
    N_Divider var word
    Result    var word
    Remainder var word
    
    N_Divider = 4150
    
    Result = N_Divider * 25
    Result = DIV32 1000
    Remainder = R2
    
    HSEROUT [Dec Result,".",DEC3 Remainder," Mhz"]
    Displays   103.750 Mhz

    HTH,
    DT

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Thank you !

    Regard Pesti

Similar Threads

  1. write big text to lcd
    By isaac in forum General
    Replies: 3
    Last Post: - 8th October 2008, 01:45
  2. Big 7 seg LED display
    By shahidali55 in forum General
    Replies: 31
    Last Post: - 12th December 2007, 05:13
  3. Big big big memory or tiny SDs!
    By Ron Marcus in forum Off Topic
    Replies: 9
    Last Post: - 25th May 2007, 18:02
  4. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  5. Which pic has a big flash program memory?
    By amindzo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st November 2006, 19:35

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts