def setbrightness(self, brightnessval):
     clevoio.writefile(self.BRIGHTNESSFILE, str(brightnessval))
 def setbrightness(self, brightnessval):
     clevoio.writefile(self.BRIGHTNESSFILE, str(brightnessval))
 def triggerHWUpdate(self):
     mask = self.RGBtoMask(self.getColor().getcomponent("R"),
                           self.getColor().getcomponent("G"),
                           self.getColor().getcomponent("B"))
     print(mask)
     clevoio.writefile(self.hwdev, mask)
 def triggerHWUpdate(self):
     mask = self.RGBtoMask(
         self.getColor().getcomponent("R"), self.getColor().getcomponent("G"), self.getColor().getcomponent("B")
     )
     print(mask)
     clevoio.writefile(self.hwdev, mask)