Revert "Merge pull request #22 from sticilface/Fork-In-Eye-UART"

This reverts commit da5a8b9213, reversing
changes made to 36cb67dac9.
This commit is contained in:
Makuna committed 2015-09-03 14:23:56 -07:00
1 parent 2652a9db21
commit db86f7dd6f
5 files changed
+13 -214

No files matched your search

+2 -15
View File
@@ -1,8 +1,8 @@
#include <NeoPixelBus.h>
#define pixelCount 300
#define pixelCount 4
NeoPixelBus strip = NeoPixelBus(pixelCount, 2);
NeoPixelBus strip = NeoPixelBus(pixelCount, 8);
uint16_t effectState = 0;
@@ -13,7 +13,6 @@ void setup()
SetRandomSeed();
}
uint32_t update_strip_time;
void loop()
{
@@ -34,18 +33,6 @@ void loop()
strip.Show();
delay(31); // ~30hz change cycle
}
if ( (millis() - update_strip_time > 30) ) {
strip.UpdateAnimations();
strip.Show(); // takes 6ms with 200, take 12ms with 400 ----> so 100 takes 3ms.
// one LED takes 30uS of nointeruppts, 100 takes 3ms.
update_strip_time = millis();
}
strip.FillUart();
}