summaryrefslogtreecommitdiffstats
path: root/prog/jelka/vzorci/vzorec.py
blob: 9e9eab088384181a5bd0c93b632e33c7379d7763 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/python3
# Preprost vzorec
from jelka import luči, nastavi, izriši
import time
while True:
	for i in range(luči):
		nastavi(i, (0, 255, 0))
	izriši()
	time.sleep(0.1)
	for i in range(luči):
		nastavi(i, (0, 0, 0))
	izriši()
	time.sleep(0.1)