Changed code to python3, add README.md
This commit is contained in:
@@ -136,7 +136,7 @@ class TM1637:
|
||||
def SetBrightnessRaw(self, briteness):
|
||||
"""Accepts raw brightness from 0 - 255"""
|
||||
brightness=briteness>>5
|
||||
print "BR=",brightness
|
||||
# print("BR=%d",brightness)
|
||||
if(self.__brightness != brightness):
|
||||
self.__brightness = brightness
|
||||
# self.Show(self.__currentData)
|
||||
|
||||
Reference in New Issue
Block a user