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

Search:

Type: Posts; User: xxxajk

Search: Search took 0.00 seconds.

  1. Replies
    42
    Views
    14,889

    size_t works on any pointer size (that's the...

    size_t works on any pointer size (that's the entire idea). If you fix it now, it will work for everything, even into the future when mcu is 64bit and our desktops are 256bit ;-)
    The original author...
  2. Replies
    42
    Views
    14,889

    Pointers on the teensy 3.x, which uses a 32bit...

    Pointers on the teensy 3.x, which uses a 32bit ARM, are 32bits. On the AVR, they are normally 16, with a few exceptions.

    The right way to write this is to use size_t, not uint16_t..
    You will...
Results 1 to 2 of 2