mario

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: connection problem #1657
    mario
    Member

    Hi again Michael,

    I see another post that has similar problem like me, and in that post you just giving a guide about the code.

    void setVBIFlag() {
    inVBI = true;
    }
    tv.set_vbi_hook(&setVBIFlag);
    if (inVBI) {
    // communicate with compass here
    inVBI = false; // reset the flag so we only try to communicate once per frame
    }

    Is that right?Because, I’m just using that code inside my code and everything is fine when I’m compile the program, but it still doesn’t have a communication between the sensor and Arduino. It’s like the code never jump to the if (inVBI) part. I don’t have any idea why it is not working. Maybe you have any advise?

    Thank you.

    Best Regards.

    Mario

    in reply to: connection problem #1656
    mario
    Member

    Hi Michael,

    Thank you for your help. Right now I will check the project that you gave me the link above. Maybe it can be used for my project.

    Regards,

    Mario

Viewing 2 posts - 1 through 2 (of 2 total)