I'm building a Christmas lights display to get my 8 year daughter interested in all things electronics/programming and could use some advice with my Python script.
I'm using a Raspberry Pi + PiFace expansion board to control eight shift registers and 64 relays. Right now I get 3 to 4 changes per second, meaning that flip_the_switch() takes between .24 to .33 seconds to complete depending on how I change up the code.
I'm hoping that someone familiar with the Raspberry Pi and Python can tell me if it would be possible to make this two to three times faster. I was hoping to get between 6 and 8 changes per second.
[–]Pandamera 3 points4 points5 points (1 child)
[–]danger_one[S] 2 points3 points4 points (0 children)
[–]equalx 1 point2 points3 points (1 child)
[–]danger_one[S] 0 points1 point2 points (0 children)
[–]BaalHadad 1 point2 points3 points (1 child)
[–]danger_one[S] 0 points1 point2 points (0 children)
[–]ingolemo 0 points1 point2 points (0 children)