def set_contrast(self, contrast):
		contrast = max(0, min(contrast, 0x7f)) # Clamp to values 0-0x7f
		self.extended_command(PCD8544_SETVOP | contrast)
Set contrast to specified value (should be 0-127).
dataset/ETHPy150Open adafruit/Adafruit_Nokia_LCD/Adafruit_Nokia_LCD/PCD8544.py/PCD8544.set_contrast