moving message display


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005
    Location
    Corum,Turkiye
    Posts
    15

    Default moving message display

    hi all,

    what s the problem...

    help me pls.......

    --------------------------------------------------------

    Include "modedefs.bas" ' Include shift modes
    chr var byte
    sira var bit [8]
    I VAR byte
    Z VAR BYTE [6]
    W VAR BYTE
    Q VAR BYTE
    S VAR BYTE
    SCK var PORTC.3
    SDI var PORTC.5
    TRISB = 0
    TRISC = 0

    MAIN :
    FOR I=0 TO 7
    for q =1 to 48
    gosub sec

    z.0(q)=sira[i]

    next q

    portc.4=0
    portc.4=1
    PORTB=0
    Shiftout SDI, SCK, MSBFIRST, [z(5),z(4),z(3),z(2),z(1),z(0)]
    portb= I
    pause 1
    NEXT I

    GOTO MAIN
    sec:

    lookup q,[$00,$7f,$01,$01,$01,$00,$3f,$48,$48,$48,$3f,$00,$7 f,$49,$49,$49,$36,$00,$3f,$48,$48,$48,$3f,$00,$7f, $48,$4c,$4a,$31,$00,$7f,$20,$1c,$02,$7f,$00,$3f,$4 8,$48,$48,$3f,$00,$00,$00,$00,$00,$00,$00,$00],sira

    return

  2. #2
    Join Date
    Dec 2005
    Location
    Corum,Turkiye
    Posts
    15


    Did you find this post helpful? Yes | No

    Exclamation lookup ....problem

    i think my problem is lookup convert. Coz " var i " value always 1. how must read it.

Similar Threads

  1. Hdsp 21xx display
    By Original in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th June 2012, 20:07
  2. Need Help for the Moving Message Display
    By cmyew in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th November 2007, 07:18
  3. Replies: 14
    Last Post: - 26th September 2007, 05:41
  4. moving message with 16f628
    By fer38 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd March 2007, 07:51
  5. Message String Table using Readcode
    By mytekcontrols in forum Code Examples
    Replies: 2
    Last Post: - 10th July 2005, 23:17

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