def begin(self, vccstate=SSD1306_SWITCHCAPVCC):
        """Initialize display."""
        # Save vcc state.
        self._vccstate = vccstate
        # Reset and initialize display.
        self.reset()
        self._initialize()
        # Turn on the display.
        self.command(SSD1306_DISPLAYON)
def begin ( self , vccstate = SSD1306_SWITCHCAPVCC ) : self . _vccstate = vccstate self . reset ( ) self . _initialize ( ) self . command ( SSD1306_DISPLAYON )
Initialize display.