pwlp 1.0.0

Control LED strips wirelessly by sending them short animation programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

loop {
	lucky = random(get_length);
	for(n=get_length) {
		set_pixel(n-1, 0, 0, 0);
		if(n == lucky) {
			set_pixel(n, 255, 255, 255);
		}
	};
	blit;
	for(n=get_length) {
		set_pixel(n-1, 0, 0, 0);
	};
	blit;
	yield;
}