[−][src]Trait adafruit_alphanum4::AlphaNum4
Trait enabling using the Adafruit 14-segment LED Alphanumeric Backpack
Required methods
fn update_buffer_with_digit(&mut self, index: Index, value: u8)
Update the buffer with a digit value (0 to 9) at the specified index
fn update_buffer_with_dot(&mut self, index: Index, dot_on: bool)
Update the buffer to turn the . on or off at the specified index
fn update_buffer_with_char(&mut self, index: Index, value: AsciiChar)
Update the buffer with an acii character at the specified index
fn update_buffer_with_float(
&mut self,
index: Index,
value: f32,
fractional_digits: u8,
base: u8
) -> Result<(), Error>
&mut self,
index: Index,
value: f32,
fractional_digits: u8,
base: u8
) -> Result<(), Error>
Update the buffer with a formatted float not starting before the specified index
Implementations on Foreign Types
impl<I2C, E> AlphaNum4<E> for HT16K33<I2C> where
I2C: Write<Error = E> + WriteRead<Error = E>,
[src]
I2C: Write<Error = E> + WriteRead<Error = E>,
fn update_buffer_with_digit(&mut self, index: Index, value: u8)
[src]
Update the buffer with a digit value (0 to 9) at the specified index
fn update_buffer_with_dot(&mut self, index: Index, dot_on: bool)
[src]
Update the buffer to turn the . on or off at the specified index
fn update_buffer_with_char(&mut self, index: Index, value: AsciiChar)
[src]
Update the buffer with an acii character at the specified index
fn update_buffer_with_float(
&mut self,
index: Index,
value: f32,
fractional_digits: u8,
base: u8
) -> Result<(), Error>
[src]
&mut self,
index: Index,
value: f32,
fractional_digits: u8,
base: u8
) -> Result<(), Error>
Update the buffer with a formatted float not starting before the specified index The logic for this is copied mostly from from the adafruit library. Only difference is this allows the start index to be > 0