Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NeoStrip_edit2 mbed
Revision 2:d81dd88ca8a1, committed 2014-04-26
- Comitter:
- rhodes42
- Date:
- Sat Apr 26 18:01:38 2014 +0000
- Parent:
- 1:2718fc5af65d
- Commit message:
- N=128;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 2718fc5af65d -r d81dd88ca8a1 main.cpp
--- a/main.cpp Sat Apr 26 17:56:30 2014 +0000
+++ b/main.cpp Sat Apr 26 18:01:38 2014 +0000
@@ -7,7 +7,7 @@
#define STOP 96
-#define N 59
+#define N 128
#define PATTERNS 4
@@ -96,7 +96,7 @@
{
for (int i = 0; i < N; i++)
{
- if (maskLeft60[i] == 1)
+ if (maskLeft128[i] == 1)
strip.setPixel(i, 0, 0xff, 0);
else
strip.setPixel(i, 0);
@@ -107,7 +107,7 @@
{
for (int i = 0; i < N; i++)
{
- if (maskRight60[i] == 1)
+ if (maskRight128[i] == 1)
strip.setPixel(i, 0, 0xff, 0);
else
strip.setPixel(i, 0);
@@ -118,7 +118,7 @@
{
for (int i = 0; i < N; i++)
{
- if (maskStop60[i] == 1)
+ if (maskStop128[i] == 1)
strip.setPixel(i, 0xff, 0, 0);
else
strip.setPixel(i, 0);