hyperterminals commands


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Posts
    44

    Default hyperterminals commands

    i would like to know some commands to sent from pic to hyperterminal like clear screen e.t.c


    thanks

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    santamaria, I use VT-100 commands for terminal control. If you do a search for VT-100 commands you will find quite a list. Here are some control codes I have used in the past to control ternimals connected to my products:
    ' ************************************************** ********
    INITS: 'INITIALIZE TERMINAL

    CLRS:
    SEROUT2 TX1,TX1BAUD,[27,91,72] 'HOME CURSOR
    SEROUT2 TX1,TX1BAUD,[27,"[1J"] 'CLEAR SCREEN
    RETURN

    ************************************************** ********
    POSITION: 'POSITION CURSOR ON LINE & COLLUM
    SEROUT2 TX1,TX1BAUD,[27,91,"H"]
    SEROUT2 TX1,TX1BAUD,[27,91,DEC LINE,";",DEC COLLUM,"f"]
    RETURN

    Dave Purola,
    N8NTA

  3. #3
    Join Date
    Feb 2005
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    thanks for your quick answer.i check this commands that you post and working fine.i will search it for more commands.

    santamaria

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


    Did you find this post helpful? Yes | No

    Default

    Hi santamaria,

    ANSI codes for Hyperterminal
    http://www.pbpgroup.com/modules/wfse...hp?articleid=9
    <br>
    DT

  5. #5
    Join Date
    May 2005
    Location
    Ne ohio
    Posts
    21


    Did you find this post helpful? Yes | No

    Default ansi codes

    Darrel,
    I included your ansi.inc file and tried a compile but mpasm gave errors.

    sonmething about "found label after column 1" and
    a few illegal charcters.

    I'm using pbp in Microcode studio and Mpasmwin.

    I only included the .inc file and did not use any of the macros.

    thanks,
    Brian

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


    Did you find this post helpful? Yes | No

    Default

    Hi ptig185,

    Make sure you have at least 1 HSEROUT statement in your main program.

    The include file uses the HSEROUT?C macro's, but it doesn't uses an HSEROUT itself. So PBP doesn't include the HSEROUT?C macro unless you have an HSEROUT statement somewhere in your program.

    HTH,
    DT

Similar Threads

  1. LCD commands
    By ruijc in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th September 2008, 12:09
  2. DS2480D commands
    By manwolf in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 21st June 2008, 05:32
  3. PBP - are DEFINE command(s) mandatory?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th September 2006, 16:43
  4. Replies: 0
    Last Post: - 28th June 2006, 12:54
  5. Timing in PICBasic Pro commands
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th September 2005, 00: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