Need more space, please...


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Need more space, please...

    Got any RAM left?

    Code:
    Tc=2
    Nc=6
    PosX=11
    PosY=3 
    Gosub Lcd_GotoXY : Gosub Lcd_SentString
    
    Tc=3
    Nc=6
    PosX=11
    PosY=4
    Gosub Lcd_GotoXY : Gosub Lcd_SentString

    ->

    Code:
    bla var byte : blabla var byte
    bla = 2 : blabla = 3
    
    '************************
    
    gosub loop
    bla = bla + 1
    blabla = blabla + 1
    gosub loop
    
    '************************
    
    loop:
    Tc=bla
    Nc=6
    PosX=11
    PosY=blabla
    Gosub Lcd_GotoXY : Gosub Lcd_SentString
    return
    plenty of potential for stuff like that,
    & you did this exact same thing twice:
    Code:
    LcdStr(5) = 59                            ' simbol for degree
    LcdStr(4) = 48 + Temperature2 dig 1
    LcdStr(3) = "."
    LcdStr(2) = 48 + Temperature2 dig 2
    if Temperature2 dig 3=0 then
    LcdStr(1) = 32
    else
    LcdStr(1) = 48 + Temperature2 dig 3
    endif
    but looks like you fit it in anyways
    Last edited by Art; - 23rd January 2012 at 15:24.

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