File tree Expand file tree Collapse file tree 5 files changed +11
-13
lines changed
Expand file tree Collapse file tree 5 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,10 @@ module github.com/sago35/koebiten
33go 1.22.5
44
55require (
6- tinygo.org/x/drivers v0.29.0
6+ github.com/chewxy/math32 v1.11.1
7+ tinygo.org/x/drivers v0.33.0
78 tinygo.org/x/tinydraw v0.4.0
8- tinygo.org/x/tinyfont v0.5 .0
9+ tinygo.org/x/tinyfont v0.6 .0
910)
1011
11- require (
12- github.com/chewxy/math32 v1.11.1 // indirect
13- github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
14- )
12+ require github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ github.com/chewxy/math32 v1.11.1 h1:b7PGHlp8KjylDoU8RrcEsRuGZhJuz8haxnKfuMMRqy8=
22github.com/chewxy/math32 v1.11.1 /go.mod h1:dOB2rcuFrCn6UHrze36WSLVPKtzPMRAQvBvUwkSsLqs =
33github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4 =
44github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 /go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ =
5- tinygo.org/x/drivers v0.29 .0 h1:xHuq8Fr1D/D2+1V/3d+aXufqP81/CLi1itdVbrYgrE0 =
6- tinygo.org/x/drivers v0.29 .0 /go.mod h1:q/mU8G/wz821p8xXqbkBACOlmZFDHXd//DnYnCW+dDQ =
5+ tinygo.org/x/drivers v0.33 .0 h1:5r8Ab0IxjWQi7LzYLNWpya6U4nedo9ZtxeMaAzrJTG8 =
6+ tinygo.org/x/drivers v0.33 .0 /go.mod h1:ZdErNrApSABdVXjA1RejD67R8SNRI6RKVfYgQDZtKtk =
77tinygo.org/x/tinydraw v0.4.0 h1:U9V0mHz8/jPShKjlh199vCfq1ARFyUOD1b+FfqIwV8c =
88tinygo.org/x/tinydraw v0.4.0 /go.mod h1:WCV/EMljTv8w04iAxjv+fRD6/4ffx0afATYeJlN90Yo =
9- tinygo.org/x/tinyfont v0.5 .0 h1:+ApIQzuUuibx/LACLnGY5MWZ/zFwed0RJAnCJCRi2bk =
10- tinygo.org/x/tinyfont v0.5 .0 /go.mod h1:2mKugz6aud3EO2IIBNQ2AbDv13kRD+s7R1U1FZ21Lkw =
9+ tinygo.org/x/tinyfont v0.6 .0 h1:GibXDSFz6xrWnEDkDRo6vsbOyRw0MVj/eza3zNHMSHs =
10+ tinygo.org/x/tinyfont v0.6 .0 /go.mod h1:onflMSkpWl7r7j4MIqhPEVV39pn7yL4N3MOePl3G+G8 =
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ func (z *device) Init() error {
5454 Height : 64 ,
5555 })
5656 d .ClearDisplay ()
57- Display = & d
57+ Display = d
5858
5959 gpioPins = []machine.Pin {
6060 machine .GPIO4 , // up
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func (z *device) Init() error {
4848 backlight .Configure (machine.PinConfig {machine .PinOutput })
4949
5050 d := ili9341 .NewSPI (
51- * machine .SPI3 ,
51+ machine .SPI3 ,
5252 machine .LCD_DC ,
5353 machine .LCD_SS_PIN ,
5454 machine .LCD_RESET ,
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ func Init() error {
9898 })
9999 d .SetRotation (drivers .Rotation180 )
100100 d .ClearDisplay ()
101- Display = & d
101+ Display = d
102102
103103 gpioPins = []machine.Pin {
104104 machine .GPIO2 , // rotary
You can’t perform that action at this time.
0 commit comments