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

Search:

Type: Posts; User: Rezo

Search: Search took 0.00 seconds.

  1. Hi Luni, Since the last post, I've been using...

    Hi Luni,

    Since the last post, I've been using the code you supplied successfully but now comes time for a change.

    I have a few array that I am passing to a function that transmitts CAN frames....
  2. Thanks Luni! Tested it this morning, WOW! the...

    Thanks Luni!

    Tested it this morning, WOW! the sample rate is so high, my display refresh rate jumped!
    This seems to be doing exactly what I wanted it to do, and it's doing it well!

    Regarding...
  3. Okay, looks like we're almost there! It...

    Okay, looks like we're almost there!

    It compiles but with two warnings:

    CAN_T4_MB_interval:574: warning: narrowing conversion of '(._93)8234u' from 'short unsigned int' to 'uint8_t {aka...
  4. Thanks Paul. I really appreciate the help from...

    Thanks Paul. I really appreciate the help from all members so far on my various topics.
    The only reason I haven't posted the full code is it took me months to obtain knowledge for multiple sources...
  5. My bad, I should have posted a more realistic...

    My bad, I should have posted a more realistic example. I'll elaborate.

    There are two functions, void canSend01(uint8_t pid) and void canSend22 (uint16_t pid)
    Why do I have two? one takes 8 byte...
  6. Sure :) enum { ...

    Sure :)



    enum {
    INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 0x0b
    }

    void canSend_01(uint8_t pid){
    CAN_message_t msgTx, msgRx;
  7. Thank you both. Just implemented it into my...

    Thank you both.

    Just implemented it into my main sketch and I'm at the last hurdle.
    I'm passing a HEX value in each function (I store them with alphabetic names in an enum)

    Getting this final...
  8. I like this approach, seems to be what I'm...

    I like this approach, seems to be what I'm looking for.
    But, tried to compile and test on a T3.2 and getting the following error:

    sketch_feb19c:5: error: 'func0' was not declared in this scope
    ...
  9. Firing multiple functions with a fixed interval between them - non blocking?

    Hi,

    Lets say I have 10 functions I would like to run, we can call them myFunction1 through myFunction10.

    I want to run each function with a fixed interval between them, lets say 100ms:

    ...
Results 1 to 9 of 9