Scrolling thermo


Closed Thread
Results 1 to 40 of 56

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    I found a way...but I think it's not the BETTER way .
    Code:
        '
        '    Display RTC & temp.
        '    -----------
    LOOPing:
    FOR scroll = 0 TO 70
        FOR scan = 0 TO 7
            PORTB=%11111111
            PAUSE 1
            PORTc = 1 
            PORTd = 1
            FOR counter = 0 TO 15
                  PORTB = leddata [counter]
                  pause 1
                    if counter > 7 then      
                        PORTD = PORTD * 2
                    else
                        portc = portc * 2
                    endif 
            NEXT
        NEXT        
        FOR counter = 0 TO 70
            leddata [counter] = leddata [counter+1]
        NEXT
    NEXT
    LED's on column 7 (PortD 0) are, sometimes, on ... What @##%$@ is this ?
    Attached Images Attached Images  

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    Thanks for making this an article!
    http://www.picbasic.co.uk/forum/cont...ng-thermometer
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    My first working variant of scroll-thermo-clock :
    Used : 16F877A, DS1307, home-made LED's matrix (7x7) and DS18B20 (missing in video, don't have anyone ).
    Different code from previous example (because of my custom matrix). Enjoy !

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    There was a problem with the web site when the article was first published. It appears to be fixed now.

    Thanks Dan for re-posting the article.

    http://www.picbasic.co.uk/forum/cont...ng-thermometer
    Dave
    Always wear safety glasses while programming.

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