package main

import (
	"machine"

	console_example "tinygo.org/x/drivers/examples/flash/console"
	"tinygo.org/x/drivers/flash"
)

func main() {
	console_example.RunFor(
		flash.NewSPI(
			machine.SPI1,
			machine.SPI1_SDO_PIN,
			machine.SPI1_SDI_PIN,
			machine.SPI1_SCK_PIN,
			machine.SPI1_CS_PIN,
		),
	)
}
