This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

settng up rs232 variable

Hi, can anyone tell me how i would set up a variable that expects a certain amount of data to be received through rs232.

i.e. to receive 18 bytes of data only once the the rx pin has been set to input.

thanks guys

Parents
  • "can someone please analyse this code?"

    For a start, you need to fix the layout (indentation) - it's all over the place!

    Use spaces - do not use TABs.

    You know where you are with spaces, but the interpretation of TABs is entirely at the whim of the displaying application and/or device and its/their particular configuration(s)!

    And use the 'Preview' before posting to verify that it's OK.

Reply
  • "can someone please analyse this code?"

    For a start, you need to fix the layout (indentation) - it's all over the place!

    Use spaces - do not use TABs.

    You know where you are with spaces, but the interpretation of TABs is entirely at the whim of the displaying application and/or device and its/their particular configuration(s)!

    And use the 'Preview' before posting to verify that it's OK.

Children
No data