Skip to content

Commit

Permalink
st7735
Browse files Browse the repository at this point in the history
  • Loading branch information
alinelena committed Oct 23, 2024
1 parent 365312c commit b9c5349
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/boards/shields/mlego_m66_rev4/st7735.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ board_spi: &spi0 {
pinctrl-0 = < &spi0_default >;
pinctrl-names = "default";
cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW> ,
<&gpio0 21 GPIO_ACTIVE_HIGH>;
<&gpio0 21 GPIO_ACTIVE_LOW>;

st7735s160x80: st7735r@0 {
compatible = "sitronix,st7735r";
spi-max-frequency = <1000000>;
reg = <0>;
cmd-data-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
width = <160>;
height = <80>;
x-offset = <0>;
width = <80>;
height = <160>;
x-offset = <24>;
y-offset = <0>;
madctl = <0xC0>;
colmod = <0x05>;
Expand Down
Binary file modified firmware/mlego_m66_rev4_rp2040-rpi_pico-zmk.uf2
Binary file not shown.

0 comments on commit b9c5349

Please sign in to comment.