Serout2 question


Results 1 to 12 of 12

Threaded View

  1. #1
    Join Date
    Dec 2010
    Location
    Melbourne Australia
    Posts
    132

    Default Serout2 question

    Is there any switch/setting that can send everything in a serout2 command in the 1 complete packet?

    eg
    MyValue = 100
    serout2 PORTB.1, 84, ["This is my value:", dec MyValue, 13,10]

    can be sent out as a complete "This is my value: 100 CRLF"

    The reason I ask is because there's one particular RF transceiver module I have that will only transmit the "This is my value". All my other transceivers will happily transmit the entire parameters including value, CR and LF. This is the same deal for all my serout2 transmits irrespective of string lengths.

    I really want to avoid having to contract everything together into a single variable prior to sending.

    I haven't tried sending using hardware, but if that's a solution, I can work with that.

    The module is a CEbyte E22-400T37S

    Thanks for any assistance.

    Troy
    Last edited by rocket_troy; - 13th March 2024 at 04:18.

Similar Threads

  1. SEROUT2 Question ?
    By andybarrett1 in forum Serial
    Replies: 2
    Last Post: - 12th April 2015, 22:49
  2. Serin2/Serout2 Question
    By scottl in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th November 2007, 09:11
  3. Serout2
    By Mostafa in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th April 2007, 07:37
  4. serout2
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th February 2007, 23:51
  5. serout2 help please...
    By cpayne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd March 2006, 19:37

Members who have read this thread : 9

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