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