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

Search:

Type: Posts; User: tonton81

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    846

    put this in your setup: ...

    put this in your setup:




    attachInterrupt(your_interrupt_pin, PozyxClass::IRQ, RISING);

    teensy isn’t defined in the class which is why it didnt enable the interrupt handler
    rather than...
  2. Replies
    20
    Views
    846

    if you change it to the value 0 or 0UL, it will...

    if you change it to the value 0 or 0UL, it will work both ways. NULL is actually “0” (zero)

    to make it more clear:

    old toolchain:
    NULL == 0

    new toolchain:
    NULL is deprecated, so throw an...
  3. Replies
    20
    Views
    846

    change NULL to “0UL” and it should work ...

    change NULL to “0UL” and it should work

    nothing is broken, teensy runs a newer toolchain where NULL is deprecated, on arduino you will compile but it should give a warning still. Library just...
Results 1 to 3 of 3