Hello Teensy 3.2 users,

Hello Teensy 3.2 users,

I’m pretty sure this is just an issue of being a noob and not knowing something important. I am porting a project from an arduino mega to the Teensy. The new board works fine, and my physical build does what it should. When I began working on the software, functions below the main loop showed up as out of scope in the compilation stage. After trying various things I found that it is not just my code…DemoReel100 hits the same problem. Compiles fine for the mega and uno, won’t compile for the Teensy.

I presumably missed some basic info about using a Teensy. I am running the latest versions of Arduino, Teensyduino and FastLED, if that is relevant. Guidance appreciated.

Paul Guthrie

This is a known bug in arduino - more recent versions of the arduino software fix it in a bunch of places - but there are still things that fall through.

Think of this more as a good chance to learn how to properly forward declare your methods (which you should be doing in C/C++ code - the fact that arduino tries to hide this fact from folks only creates something to trip on when they move beyond simple arduino code … or, when the IDE develops bugs)