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

Search:

Type: Posts; User: Timon

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    512

    The first call of sizeof(msg2) returns the amout...

    The first call of sizeof(msg2) returns the amout of memory the array is using, whereas the second call sizeof(msg2[0]) returns the amout of memory one element is using. Dividing these two returns the...
  2. Replies
    14
    Views
    512

    This seems to be the issue. I set up the...

    This seems to be the issue.

    I set up the buildin LED to toggle(third channel) when the teensy is reading data like you suggested and it seems like it only collects the data "every four bytes".
    ...
  3. Replies
    14
    Views
    512

    @BriComp I really appreciate you taking the time...

    @BriComp I really appreciate you taking the time to help me :)



    Its a leftover of a previous iteration of the code that i forgot to delete.



    I probably should have listed all the...
  4. Replies
    14
    Views
    512

    Thank you for you effort @BriComp ! ...

    Thank you for you effort @BriComp !

    Unfortunately there seems to be no difference but I appriciate you help.
  5. Replies
    14
    Views
    512

    The arduino code is nothing special but if it...

    The arduino code is nothing special but if it helps:


    int msg1[] = {0x00, 0xB3 , 0x11, 0x05, 0xF5, 0x23};
    int msg2[] = {0x02, 0xB2 , 0x14, 0x45, 0x45, 0x34, 0x45, 0x34};

    void setup() {
    ...
  6. Replies
    14
    Views
    512

    Sorry, I didnt include all header files. I was...

    Sorry, I didnt include all header files. I was hoping someone would spot an issue in my code without having to compile anything.

    I rewrote a shorter version of my code for the teensy so it does...
  7. Replies
    14
    Views
    512

    Serial.write delay on Teensy 3.6

    Hi,

    I am sending serial messages of different sizes from an arduino uno to a teensy 3.6 at 9600 Baud. The Teensy is then reading the first byte of the message, which is representing the data...
Results 1 to 7 of 7