Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: errormsg " expecting TRIPL_DOT, found myPorts "

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default errormsg " expecting TRIPL_DOT, found myPorts "

    Hi I hope to get some help me out of my problem
    I was successful in communicating with my Arduino unit & tried to have 3 arduino units ,
    so i tried multiple com, i list ports and found right port in my software.
    i wanted to use SerialEvent() like below,,,

    void serialEvent(Serial myPorts[pi1]) { }

    pi1 is the listed number of the port which i want to catch data from

    error message shown was.. expecting TRIPL_DOT,found myPorts

    i would appreciate your help
    thank you


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: errormsg " expecting TRIPL_DOT, found myPorts "

    You've passed the method an unexpected parameter type. Either write a method that accepts that type of parameter or pass the correct type.

Similar Threads

  1. Understanding layers of system logic. Clarity for what "SDK" & "JDK" mean
    By MilkWetGhost in forum Java Theory & Questions
    Replies: 1
    Last Post: October 3rd, 2013, 12:25 PM
  2. Replies: 2
    Last Post: June 22nd, 2013, 10:30 AM
  3. Replies: 26
    Last Post: February 10th, 2013, 12:59 PM
  4. "possible loss of precision, found double, required int" HELP
    By kkatchh in forum Loops & Control Statements
    Replies: 3
    Last Post: November 6th, 2011, 10:50 AM
  5. Replies: 7
    Last Post: August 13th, 2011, 01:22 AM

Tags for this Thread