hyperterminals commands


Closed Thread
Results 1 to 13 of 13

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    This is strange, I commented all the ansi stuff out. Then brought it back in
    a bit at a time and now it will compile. ??????????

    I tried deleting all the output files but that did not help. Now it's compiling
    once again.

    Brian

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


    Did you find this post helpful? Yes | No

    Default

    Found something....
    It seems that there needs to be at least 2 items in the HSEROUT command

    If I do: HSEROUT [DEC 1] it fails to compile.

    but if I use: HSEROUT[DEC 1,2] it will compile.


    'file: AnsiTest.bas

    define osc 4
    include "modedefs.bas"
    include "ansi.inc"


    Row var byte
    Col var byte
    SerPinOut var portC.6 'Usart output TX
    SerPinIn var portC.7 'Usart input RX

    Row=1
    col=1

    @ ClrScr
    @ Blink
    @ BackColor blue
    @ ForColor yellow
    @ CurMove 1,2
    @ RequestCurPos

    HSEROUT [DEC 1,12]
    'HSEROUT [DEC 1]

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


    Did you find this post helpful? Yes | No

    Thumbs up

    Yup, that'll work too.

    Anything that will cause PBP to include both the macro's

    <pre>HSEROUT?C ; HSEROUT [1]<br>HSEROUTDEC? ; HSEROUT [DEC 1]</pre>Normally these will already be in your program somewhere, so you don't need to worry about it. But since you're starting from scratch with nothing but the include file, they aren't in there yet.

    Hope the rest works out for you.
    <br>
    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