pub fn display_char(&mut self, position: u8, ch: char) -> Result<(), Error<E>> {        
        
        // TO DO: restrict to 0x0g - 0x79
        
        if position > 3 {
            return Err(Error::InvalidInputData);            
            } else {              
                self.write(&[Register::POSITION_SETTING, position, ch as u8])?;
           };        
        Ok(())
    }
/// Write character C at position P
Write character C at position P
Write character C at position P
pub fn display_char(&mut self, position: u8, ch: char) -> Result<(), Error<E>> {        
        // TO DO: restrict to 0x0g - 0x79
        if position > 3 {
            return Err(Error::InvalidInputData);            
            } else {              
                self.write(&[Register::POSITION_SETTING, position, ch as u8])?;
           };        
        Ok(())
    }
pub fn display_char ( & mut self , position : u8 , ch : char ) -> Result < ( ) , Error < E > > { // TO DO: restrict to 0x0g - 0x79 if position > 3 { return Err ( Error :: InvalidInputData ) ; } else { self . write ( & [ Register :: POSITION_SETTING , position , ch as u8 ] ) ? ; } ; Ok ( ( ) ) }
Write character C at position P
Write character C at position P
&mut self
position
u8
ch
char
&mut self
position
u8
ch
char