pub fn flush(&mut self) -> Result<(), rppal::spi::Error> {
        self.send_command(Command::ColumnAddress)?;
        self.send_command(Command::RowAddress)?;
        self.send_command(Command::DisplayStartLine)?;
        self.send_command(Command::WriteRam)?;

             let buffer = self.buffer;
        self.send_data(&buffer)?;
        Ok(())
    }
/// Flushes the display, and makes the output visible on the screen.
Flushes the display, and makes the output visible on the screen.
Flushes the display and makes the output visible on the screen .
pub fn flush(&mut self) -> Result<(), rppal::spi::Error> {
        self.send_command(Command::ColumnAddress)?;
        self.send_command(Command::RowAddress)?;
        self.send_command(Command::DisplayStartLine)?;
        self.send_command(Command::WriteRam)?;
             let buffer = self.buffer;
        self.send_data(&buffer)?;
        Ok(())
    }
pub fn flush ( & mut self ) -> Result < ( ) , rppal :: spi :: Error > { self . send_command ( Command :: ColumnAddress ) ? ; self . send_command ( Command :: RowAddress ) ? ; self . send_command ( Command :: DisplayStartLine ) ? ; self . send_command ( Command :: WriteRam ) ? ; let buffer = self . buffer ; self . send_data ( & buffer ) ? ; Ok ( ( ) ) }
Flushes the display, and makes the output visible on the screen.
Flushes the display and makes the output visible on the screen .
&mut self