3 digit 7-Seg serial Display


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    The Netherlands
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: 3 digit 7-Seg serial Display

    I have make this !

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: 3 digit 7-Seg serial Display

    Not clear what you mean.

    Ioannis

  3. #3
    Join Date
    Oct 2005
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Re: 3 digit 7-Seg serial Display

    I think you forget to put minutes in the minutes LED although you do remember it for the rest digits .So try this..
    ........
    ........
    poke PortC,%10000000 ' DP on first LED
    Poke PortC,B0 ' Send segments to LED
    Poke PortC.7,1
    high PortA.2 ' Minutes LED
    Pause 3 ' Leave it on 3 ms
    low PortA.2 ' Turn off to prevent ghosting
    ........
    ........

  4. #4
    Join Date
    Jul 2005
    Location
    The Netherlands
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: 3 digit 7-Seg serial Display

    [QUOTE=Ioannis;144615]Not clear what you mean.

    Ioannis,

    I'm missing the minutes on the first LED dsp...

  5. #5
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: 3 digit 7-Seg serial Display

    Perhaps I am not following your idea clearly, but it seems the problem is bigger than you state...

    Up until 599 seconds the display may read minutes and seconds like: M.SS with no problem, but with 10 minutes, then seconds (or minutes) must be only one digit. You may choose to change the display so that at low times, - less the 599 seconds you display M.SS but at 600 seconds the display becomes MM.S. This will require two display routines. Or, you may display minutes as hexadecimal and use A, B, C, D, E, F for values greater than 10. Then you may display M.SS for all values up to 999 seconds with only 1 minutes digit.

    Once you have determined how to display your time consistently, then recheck the datasheet of your display, it seems strange to me that a serial display will require more than some string data to display numbers. I would imagine some SEROUT Pin, Mode, (Item{,Item}) statement would work - at least try this through the built in serial function (DEBUG) in PicBasic to be sure all that you intend to send to the display is correct.

    HTH

Similar Threads

  1. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  2. Replies: 2
    Last Post: - 14th July 2008, 22:11
  3. Replies: 2
    Last Post: - 22nd January 2008, 14:25
  4. How to display dot on 7-seg , 4 digit
    By chai98a in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 19th January 2007, 18:17
  5. SMART Serial 4 Digit LCD Display (SMARD4)
    By paul borgmeier in forum Adverts
    Replies: 0
    Last Post: - 5th January 2005, 05:50

Members who have read this thread : 0

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