File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
3333// this is a raw helper function for use by the user which sets up the GPIO output, and configures the SM to output on a particular pin
3434func blinkProgramInit(sm pio.StateMachine, offset uint8, pin machine.Pin) {
3535 pin.Configure(machine.PinConfig{Mode: sm.PIO().PinMode()})
36- sm.SetConsecutivePinDirs (pin, 1, true)
36+ sm.SetPindirsConsecutive (pin, 1, true)
3737 cfg := blinkProgramDefaultConfig(offset)
3838 cfg.SetSetPins(pin, 1)
3939 sm.Init(offset, cfg)
Original file line number Diff line number Diff line change 2020//go:generate pioasm -o go parallel8.pio parallel8_pio.go
2121//go:generate pioasm -o go pulsar.pio pulsar_pio.go
2222//go:generate pioasm -o go spi.pio spi_pio.go
23- //go:generate pioasm -o go ws2812.pio ws2812_pio.go
2423//go:generate pioasm -o go ws2812b.pio ws2812b_pio.go
2524//go:generate pioasm -o go i2s.pio i2s_pio.go
2625//go:generate pioasm -o go spi3w.pio spi3w_pio.go
You can’t perform that action at this time.
0 commit comments