mirror of
https://github.com/tinyvision-ai-inc/pico-ice.git
synced 2026-01-10 22:01:29 +00:00
6 lines
180 B
Python
Executable File
6 lines
180 B
Python
Executable File
from machine import Pin
|
|
import ice
|
|
file = open("final.bit", "br")
|
|
flash = ice.flash(miso=Pin(8), mosi=Pin(11), sck=Pin(10), cs=Pin(9))
|
|
flash.write(file)
|
|
print("Done flashing") |