HSEROUT and code


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    GREECE
    Posts
    120

    Cool HSEROUT and code

    Hello boys and girls,

    I did something simple today .

    I add to my code (I use 16f627 = 1024words FLASH Program) the following :


    hserout ["'*********************************", 13,10]
    hserout ["'* Name : WIRELESS TEMP liNK *", 13,10]
    hserout ["'* Notice : Copyright (c)2008 By OLDNICK *", 13,10]
    hserout ["'* Notes : UNIT POWER SUPPLY 3VDC *", 13,10]
    hserout ["'*********************************", 13,10]

    My code increase 450 words?????Just for that???

    Can I do the previous(hserout) saving some space code?

    Thanks in advance
    Nikos

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ngeronikolos View Post
    Hello boys and girls,
    More like Old farts and one nice Lady.

    Can I do the previous(hserout) saving some space code?
    Absolutely,

    Here's an example that will work on a 627.

    http://www.picbasic.co.uk/forum/showthread.php?p=51931

    Notice how the "TOO LOW " and "TOO RICH" strings are stored using POKECODE.
    And how it's displayed in the ShowMsg: routine.

    Just change the LCDOUT to HSEROUT.

    Make sure the Strings are "Null Terminated". (a 0 at the end)

    hth,
    DT

Similar Threads

  1. I2C Slave with a PIC
    By ralfmayr in forum mel PIC BASIC Pro
    Replies: 129
    Last Post: - 21st August 2016, 17:44
  2. hserin and sms controller
    By xxxxxx in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 10th February 2010, 15:49
  3. HSEROUT and Commas, What? Help Me Understand
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th July 2009, 19:12
  4. Is HSEROUT corrupting bit 7 ?????
    By Robert Wells in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd October 2008, 16:26
  5. Controlling an 240x128 LCD Touchpanel Display
    By Vincent in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 7th June 2006, 23:36

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