Skip to content

Commit

Permalink
leds respond to touch - flickering gone if we re-connect PMOD, comes …
Browse files Browse the repository at this point in the history
…back on reset
  • Loading branch information
schnommus committed Oct 22, 2023
1 parent 93d2510 commit 0bc77ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateware/drivers/pmod_i2c_master.sv
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ always_ff @(posedge clk) begin
end
2: begin
// Register pointer
data_in <= 8'h0C;
data_in <= 8'hAA;
cmd <= I2CMASTER_WRITE;
stb <= 1'b1;
end
Expand Down Expand Up @@ -320,7 +320,7 @@ always_ff @(posedge clk) begin
stb <= 1'b1;
end
10000: begin
i2c_state <= I2C_JACK1;
i2c_state <= I2C_LED1;
delay_cnt <= 0;
end
default: begin
Expand Down

0 comments on commit 0bc77ee

Please sign in to comment.