diff --git a/display/display.c b/display/display.c index e742106..77bec1d 100644 --- a/display/display.c +++ b/display/display.c @@ -17,22 +17,20 @@ You should have received a copy of the GNU General Public License along with Lum void display_strobe_line(gpio_t *line) { set_line(line); - _delay_us(100); + _delay_us(50); clear_line(line); - _delay_us(100); + _delay_us(50); } void write_instruction(display_t *disp, uint8_t bitcode) { clear_line(&disp->register_select); sr_send_msb(&disp->reg, bitcode); - _delay_ms(1); display_strobe_line(&disp->enable); } void write_char(display_t *disp, uint8_t bitcode) { set_line(&disp->register_select); sr_send_msb(&disp->reg, bitcode); - _delay_ms(1); display_strobe_line(&disp->enable); } diff --git a/shift_register/shift_register.c b/shift_register/shift_register.c index e783747..61fd08c 100644 --- a/shift_register/shift_register.c +++ b/shift_register/shift_register.c @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with Lum void sr_strobe_line(gpio_t *line) { set_line(line); - _delay_us(100); + _delay_us(1); clear_line(line); }