How to use Arrays Using Pic Basic Pro(need help)


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by MrSafe View Post
    They work by them selfs however when I combine all of them like in the code provided they do not work I have tried everything I could think of any suggestions?
    I don't follow what you mean...

  2. #2
    MrSafe's Avatar
    MrSafe Guest


    Did you find this post helpful? Yes | No

    Default

    I finally got the arrays to work correctly thank you very much.
    However now I am in a new hole. When I try to transmit the array using the command

    SEROUT2 PORTD.0, T1200, [STR htxt\StrLen,13,10]

    it will not send any data out. I found out the 13,10 in the program command is related to the hyper terminal in the pc from what I understand. so I modified the program command to

    SEROUT2 PORTD.0, T1200, [STR htxt\StrLen]

    I am using a TX module that transmits any data that is transmitted to it serially it sends out wirelessly and the RX unit then serially transmit data to pic as you can see from the command I am using PORT D pin Zero at baud rate 1200 however I am confused as to why it is not receiving any of the data do I have to change anything on the receiving end to make it work? I have included both my transmitting and my receiving codes.
    Attached Files Attached Files

Similar Threads

  1. Sending Commands from Visual Basic about IR to Pic
    By tne_de in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th April 2009, 06:09
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. using AND as an IF statement
    By dw_pic in forum mel PIC BASIC
    Replies: 27
    Last Post: - 8th June 2006, 18:05
  4. vb6 to pic basic
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 19th December 2005, 01:56
  5. The Ultimate PIC Basic
    By picnaut in forum PBP Wish List
    Replies: 4
    Last Post: - 9th November 2004, 22:10

Members who have read this thread : 2

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