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 Reply Children
  • can someone please analyse this code

    HOW?

    what does packet() do ?
    what does configuration() do: ?
    why do you indent 'a mile' use spaces, not table?

    Erik

    PS: you have two options a) wait till it may be convenient for a responder if you want it for free OR b) pay for it.

    Do you really think there are people sitting around just waiting to solce your problem for free?

  • "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.

  • Well as you seem to respond to most posts i am presuming you are forum moderators employed by keil?? if not then i am truly greatful for your help. the configuration() etc just set up the nrf24e1 CS and CE, and in response to Dan, we are not the same person but are working on the same project......im not that immature.