def display(self):
self.command(SSD1306_COLUMNADDR)<EOL>self.command(<NUM_LIT:0>)              <EOL>self.command(self.width-<NUM_LIT:1>)   <EOL>self.command(SSD1306_PAGEADDR)<EOL>self.command(<NUM_LIT:0>)              <EOL>self.command(self._pages-<NUM_LIT:1>)  <EOL>if self._spi is not None:<EOL><INDENT>self._gpio.set_high(self._dc)<EOL>self._spi.write(self._buffer)<EOL><DEDENT>else:<EOL><INDENT>for i in range(<NUM_LIT:0>, len(self._buffer), <NUM_LIT:16>):<EOL><INDENT>control = <NUM_LIT>   <EOL>self._i2c.writeList(control, self._buffer[i:i+<NUM_LIT:16>])<EOL><DEDENT><DEDENT>
Write display buffer to physical display.