diff --git a/examples/BasicAnimations/BasicAnimations.pde b/examples/BasicAnimations/BasicAnimations.ino similarity index 94% rename from examples/BasicAnimations/BasicAnimations.pde rename to examples/BasicAnimations/BasicAnimations.ino index cd2643d..886f35c 100644 --- a/examples/BasicAnimations/BasicAnimations.pde +++ b/examples/BasicAnimations/BasicAnimations.ino @@ -40,7 +40,7 @@ void loop() Plays an animation in the "background". Don't call Tlc.update() while this is running. You can check if this is done with !tlc_onUpdateFinished */ - tlc_playAnimation(ani_arduino, ANI_ARDUINO_FRAMES, 3); + tlc_playAnimation(ani_arduino, ANI_ARDUINO_FRAMES, 3); // Default is 3 // If you don't want to do anything until it's finished, use: diff --git a/examples/UsingProgmem/UsingProgmem.pde b/examples/UsingProgmem/UsingProgmem.ino similarity index 96% rename from examples/UsingProgmem/UsingProgmem.pde rename to examples/UsingProgmem/UsingProgmem.ino index 6a4d7de..3aa0b17 100644 --- a/examples/UsingProgmem/UsingProgmem.pde +++ b/examples/UsingProgmem/UsingProgmem.ino @@ -24,7 +24,7 @@ The pattern below will only work with 1 TLC. Copy + Paste the 4 lines inside the curly brackets for each additional TLC. */ -uint8_t gsArray1[NUM_TLCS * 24] PROGMEM = { +const uint8_t gsArray1[NUM_TLCS * 24] PROGMEM = { GS_DUO((4095 * 16)/16, (4095 * 15)/16), GS_DUO((4095 * 14)/16, (4095 * 13)/16), GS_DUO((4095 * 12)/16, (4095 * 11)/16), GS_DUO((4095 * 10)/16, (4095 * 9)/16), GS_DUO((4095 * 8)/16, (4095 * 7)/16), GS_DUO((4095 * 6)/16, (4095 * 5)/16),