Commits

Christopher De Vries committed 931e52f

Started working on a blinker that works in hsv colorspace. Picks random fully saturated and full value colors, varying only hue.

Comments (0)

Files changed (2)

 CFLAGS = -O3
 CC = gcc
-BUNDLE = Makefile README.txt LICENSE.txt tclled.h tclled.c tcl_speedtest.c blink_test.c simple_example.c
-VERSION = 1.0
+BUNDLE = Makefile README.txt LICENSE.txt tclled.h tclled.c tcl_speedtest.c blink_test.c simple_example.c blink_hsv.c
+VERSION = 1.1
 ARCHIVE = elinux-tcl
 LIBS = -lm
 
-all: tcl_speedtest blink_test simple_example
+all: tcl_speedtest blink_test simple_example blink_hsv
 
 archive: $(BUNDLE)
 	mkdir $(ARCHIVE)-$(VERSION)
 blink_test: blink_test.o tclled.o
 	$(CC) $(CFLAGS) $(LIBS) -o $@ $^
 
+blink_hsv.o: tclled.h blink_hsv.c
+
+blink_hsv: blink_hsv.o tclled.o
+	$(CC) $(CFLAGS) $(LIBS) -o $@ $^
+
 simple_example.o: tclled.h simple_example.c
 
 simple_example: simple_example.o tclled.o
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.