コード例 #1
0
ファイル: tron.py プロジェクト: somakeit/flipdots
 def reset_white(self):
     black = FlipdotImage.newBlackFlipdotImage(self.width, self.height)
     self.matrix.show(black)
     white = FlipdotImage.newWhiteFlipdotImage(self.width, self.height)
     self.matrix.show(white)
コード例 #2
0
ファイル: tron.py プロジェクト: muccc/flipdots
 def reset_white(self):
     black = FlipdotImage.newBlackFlipdotImage(self.width, self.height)
     self.matrix.show(black)
     white = FlipdotImage.newWhiteFlipdotImage(self.width, self.height)
     self.matrix.show(white)
コード例 #3
0
ファイル: webapp.py プロジェクト: derchrisuk/flipdots
def black():
    blackImage = FlipdotImage.newBlackFlipdotImage(wandwidth, wandheight)
    matrix.show(blackImage)
    return minipage("blacked all")