Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Ozzie_G

Search: Search took 0.00 seconds.

  1. Are you saying the compiler AND the Forum are...

    Are you saying the compiler AND the Forum are friendly?
    Lucky me. :o

    I did try to follow the suggestions of the error message, but never could come up with


    p1.hasData_x = &Port::hasData1;
    ...
  2. Well, since you insist.. LoL For completeness...

    Well, since you insist.. LoL

    For completeness sake, and to understand the syntax, I did try your (p1.*p1.Port::hasData_x)() call in the main loop .. yep, it works.
    But then I tried to change the...
  3. It really is a friendly forum. And it caters to...

    It really is a friendly forum. And it caters to tinkerers at all levels.
    I think part of it is that Paul (S) himself keeps answering questions by newbies all the time.

    :-)
  4. Dear Luni, The dinner/beer account has stopped...

    Dear Luni,

    The dinner/beer account has stopped growing, but i respond to you as "Dear Luni" now, as a way to show how much i appreciate all your efforts to set up a structure for what i was...
  5. Since i now found how to include code.. Show you...

    Since i now found how to include code.. Show you some test i did before asking the forum.
    I was not yet trying to Translate Serial ports , just trying to use pointers to member functions.


    In...
  6. Hi Luni, Well, i am not sure why that would be...

    Hi Luni,

    Well, i am not sure why that would be over engineered, isn't communication usually bi-directional?
    Kind of brings me back to an earlier question you raised ...
    Do we model a serial port...
  7. Hi Luni, Could of course not stop myself from...

    Hi Luni,

    Could of course not stop myself from having a look right away.
    Have some questions. I know the definition of 'inline' , but i have never (thought i) needed it. Is it simply your...
  8. Luni, LoL, yeah.. you got that right. All of...

    Luni,

    LoL, yeah.. you got that right. All of it. About the full information and about the time in Taiwan.
    Have you ever considered a career in fortune telling? In writing summaries? LoL.

    I am...
  9. Yeah, i can see how it makes sense to model the...

    Yeah, i can see how it makes sense to model the machine (or model the way to control that machine) in a class, and let every Machine-class have function containing code to check the machine's serial...
  10. Hi Luni, I have written a response to TonTon...

    Hi Luni,

    I have written a response to TonTon just now, that explains in more detail what i expect the sketch to work like.
    I loved my own idea of having each instance of my class have it's...
  11. Hi TonTon, I did read your post, and thank...

    Hi TonTon,

    I did read your post, and thank you.
    The use case is kinda like i described it?? I am as unsure how to specify my answer to you as you were to answer mine, sorry about lacking...
  12. OMG, so quickly and so complete. Thanks so much....

    OMG, so quickly and so complete.
    Thanks so much. I think this is exactly what I have been trying to do.

    It's late now (well, it is here), so I will look in more detail a bit later.
    I, indeed,...
  13. Class function pointer, point to different class functions for different instances

    I have made a class to describe a serial port. It contains (settings for) the port properties, baudrate, connection status, etc. AND a small number of handling functions.

    I need to make three...
  14. Replies
    4
    Views
    2,259

    Thanks, yeah, figured it would be something...

    Thanks,

    yeah, figured it would be something like that... but not as clear as an expert can explain it.. ;)
  15. Replies
    4
    Views
    2,259

    Hi Paul, Thanks for replying so fast, but I...

    Hi Paul,

    Thanks for replying so fast, but I guess I m missing the point here. Perhaps ".write" was not intended for this purpose
    Also, my conclusion that a <CR> was added by ".print" was not...
  16. Replies
    4
    Views
    2,259

    print OR write, String or string

    Hi everyone,

    I am using Teensy3.0 for seemingly simple function:

    A system controller sends commands over Rs232 to a piece of equipment. The controller uses commands in small-case where as the...
Results 1 to 16 of 16