Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CoorFun committed Jan 1, 2019
1 parent 47fdfaf commit 8e0db03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions example/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
#include<unistd.h>

int main(int argc, char *argv[]) {
int i;
int bri = 0;
int dir = 0;
int time = 0;
cAPA102_Init(12, 0, 0, 31);

int i;
for ( i = 0; i < 3; i++)
cAPA102_Set_Pixel_4byte(i, 0xFF0000);
//cAPA102_Set_Pixel_RGB(i, 255, 0, 0);
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CFLAGS = -Wall\

SOURCES = src/cAPA102.c

test = cAPA102_example
example = cAPA102_example

all: $(example)

Expand Down

0 comments on commit 8e0db03

Please sign in to comment.