Exemple #1
0
void set_mode(enum Mode mode) {
  write_bits_msb( _BV(2), (uint8_t)mode );
}
Exemple #2
0
void send_command( enum Command command ) {
  write_bits_msb( _BV(7), (uint8_t)command );
  write_bits_msb( _BV(0), 0 );
}
Exemple #3
0
void HT1632::set_mode(Mode mode) {
  deselect();
  select();
  write_bits_msb( _BV(2), (uint8_t)mode );
  this->mode = mode;
}
Exemple #4
0
void send_address( uint8_t addr ) {
    write_bits_msb( _BV(6), addr );
}
Exemple #5
0
void HT1632::send_command( Command command ) {
  write_bits_msb( _BV(7), (uint8_t)command );
  write_bits_msb( _BV(0), 0 );
}