technobly/SparkCore-NeoPixel — pull request #1 by carldanley (2014-01-03 19:27:04+00:00)
Title: Pulled in the Adafruit NeoPixel library and resolved a few errors.

I pulled in the Adafruit NeoPixel library from https://github.com/adafruit/Adafruit_NeoPixel but there are still a lot of errors left. Here is the error log from the Spark Web IDE:

`../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp: In constructor 'Adafruit_NeoPixel::Adafruit_NeoPixel(uint16_t, uint8_t, uint8_t)':
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:84:5: error: 'Adafruit_NeoPixel::pixels' will be initialized after [-Werror=reorder]
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:79:5: error: 'const uint8_t Adafruit_NeoPixel::type' [-Werror=reorder]
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:134:1: error: when initialized here [-Werror=reorder]
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp: In member function 'void Adafruit_NeoPixel::show()':
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:834:3: error: 'Pio' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:834:19: error: 'port' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:835:12: error: 'WoReg' does not name a type
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:838:29: error: 'pmc_set_writeprotect' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:839:35: error: 'TC3_IRQn' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:839:43: error: 'pmc_enable_periph_clk' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:840:16: error: 'TC1' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:841:5: error: 'TC_CMR_WAVE' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:841:19: error: 'TC_CMR_WAVSEL_UP' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:841:38: error: 'TC_CMR_TCCLKS_TIMER_CLOCK1' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:841:64: error: 'TC_Configure' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:842:18: error: 'TC_Start' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:844:15: error: 'g_APinDescription' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:846:3: error: 'portSet' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:847:3: error: 'portClear' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:848:3: error: 'timeValue' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:849:3: error: 'timeReset' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:858:13: error: 'VARIANT_MCK' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:858:13: error: 'F_CPU' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:863:13: error: 'VARIANT_MCK' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:863:13: error: 'F_CPU' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:873:18: error: 'TC_CCR_CLKEN' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:873:33: error: 'TC_CCR_SWTRG' was not declared in this scope
../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.cpp:883:17: error: 'TC_Stop' was not declared in this scope
cc1plus: all warnings being treated as errors
make: *** [../0e45acb247d0c6bbfddd5af77b4156f991b18b569f4e6adf9ebf5dd36622/the_user_app.o] Error 1`

I'll continue trying to resolve them but my C++ is rusty so not sure how much I can help here.