does this piece of code look ok?


Results 1 to 27 of 27

Threaded View

  1. #19
    Richardco's Avatar
    Richardco Guest


    Did you find this post helpful? Yes | No

    Default

    Ok im not good a wording what im thinking which may be why my coding is so bad but i will give it a go: i need a break from all this reading anyhow

    would a pic be fast enough to do it like this, memory allowing:

    memory locations from A01-A99 & B01- B99

    read byte from pin 1 into memory location A01
    is byte "crlf"
    if yes move from memory location A** to tx & clear memory reset memory location to A01
    if no increment memory location A01

    read byte from pin 2 into memory location B01
    is byte "crlf"
    if yes move from memory location B** to tx & clear memory reset memory location to B01
    if no increment memory location B01

    start again
    Last edited by Richardco; - 30th November 2005 at 00:27.

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 17:23

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