mirror of
https://github.com/tinyvision-ai-inc/pico-ice.git
synced 2025-12-30 03:47:10 +00:00
6 lines
178 B
Python
Executable File
6 lines
178 B
Python
Executable File
from machine import Pin
|
|
import ice
|
|
file = open("final.bit", "br")
|
|
flash = ice.flash(miso=Pin(4), mosi=Pin(7), sck=Pin(6), cs=Pin(5))
|
|
flash.write(file)
|
|
print("Done flashing") |