From 0c0e5022ed2e03e422440fb08cf50a9e550c2673 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 22 Sep 2016 17:07:50 +0200 Subject: Changed a Function to a Void --- Arduino/i2cPixelSlave.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Arduino/i2cPixelSlave.ino b/Arduino/i2cPixelSlave.ino index 9ff5e58..fa5bf45 100644 --- a/Arduino/i2cPixelSlave.ino +++ b/Arduino/i2cPixelSlave.ino @@ -2,7 +2,7 @@ #include #define PIN 6 -#define PIXELS 10 +#define PIXELS 10 // Set this to the number of pixels in yout strip #define SLAVE_ADDRESS 0x04 // Parameter 1 = number of pixels in strip @@ -226,7 +226,7 @@ void testCoid() { flashColor(0, 204, 0, 1100); } -int flashColor(byte Red, byte Green, byte Blue, int n) { +void flashColor(byte Red, byte Green, byte Blue, long n) { byte Rstart=0; byte Gstart=0; @@ -271,6 +271,5 @@ int flashColor(byte Red, byte Green, byte Blue, int n) { } strip.show(); - return 0x01; } -- cgit v1.2.3