Added in the SN3218 LED controller IC - as used in the PiGlow

so write a little test program with it too.
Updated gpio to use the sn3218 too.
This commit is contained in:
Gordon Henderson
2013-07-23 17:52:27 +01:00
parent 8c8578a26b
commit d24cf0630b
6 changed files with 184 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ SRC = blink.c blink8.c blink12.c \
nes.c \
softPwm.c softTone.c \
delayTest.c serialRead.c serialTest.c okLed.c ds1302.c \
rht03.c
rht03.c piglow.c
OBJ = $(SRC:.c=.o)
@@ -139,6 +139,10 @@ ds1302: ds1302.o
@echo [link]
@$(CC) -o $@ ds1302.o $(LDFLAGS) $(LDLIBS)
piglow: piglow.o
@echo [link]
@$(CC) -o $@ piglow.o $(LDFLAGS) $(LDLIBS)
.c.o:
@echo [CC] $<