/setgamma

Sets gamma in various funky ways on Raspberry Pi. Requires appropriate firmware

Primary LanguageCGNU General Public License v2.0GPL-2.0

setgamma

Sets display gamma in various funky ways on Raspberry Pi. Requires appropriate firmware

Compile using

cc mailbox.c setgamma.c -ldl -lm -o setgamma

Run using

sudo ./setgamma

Has a few command line parameters

-l Number of loops
-d delay between each change in us
-c Channel to act on (r = 0, g = 1, b = 2, all = 3)
-t type of action - 0 = fader, 1 = coloury fader, 2 = posterise