Go to advanced search

by fliff
Wed Mar 05, 2014 4:10 pm
Forum: Python
Topic: list of list with ongoing enumeration
Replies: 3
Views: 844

Re: list of list with ongoing enumeration

Thanks, that's what i was looking for.
by fliff
Wed Mar 05, 2014 12:14 pm
Forum: Python
Topic: list of list with ongoing enumeration
Replies: 3
Views: 844

list of list with ongoing enumeration

He everybody

I'd like to make a list of lists which takes a row of numbers (0 to 126) and makes a list every seventh number, so the list would look like:
list = [[0,1,2,3,4,5,6],[7,8,9,10,11,12,13],[14,15.....]]

i'd like to achieve this by using a loop..any ideas?

Thanks for your help, f.
by fliff
Wed Feb 26, 2014 5:46 pm
Forum: Python
Topic: Threading, LEDs
Replies: 3
Views: 1422

Re: Threading, LEDs

hey paddy thanks for your answer. i probably have to read deeper into curses, as the code still isn't doing what i expect it to do. but i think i might have found a solution to my original problem. i'll sure give it a try. what do you mean by "both threads are calling led function but you don't know...
by fliff
Wed Feb 26, 2014 12:58 pm
Forum: Python
Topic: Threading, LEDs
Replies: 3
Views: 1422

Threading, LEDs

Hello everyone! I've built a LED Matrix (14x9) out of LPD8806 LED Stripes and i want it to display an animation and simultanously i want one "LEDpixel" which i can move by Keyboard Inputs. By now it's kinda working. Both threads are running and doing what i expect them to do, except: the LEDpixel i ...

Go to advanced search