Skip to content

Commit e4cfa11

Browse files
author
Seth Kerr
committed
linting and formating on example file
1 parent 802a46f commit e4cfa11

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

examples/icepython_simpletest.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,23 @@
33
#
44
# SPDX-License-Identifier: Unlicense
55

6-
import board
6+
"""
7+
Example showing how to program an iCE40 FPGA with circuitpython!
8+
"""
9+
710
import time
11+
import board
812
import oakdevtech_icepython
913

10-
iceprog = oakdevtech_icepython.Oakdevtech_icepython(board.SPI(),board.A5,board.A4,"top_bitmap1.bin")
14+
iceprog = oakdevtech_icepython.Oakdevtech_icepython(
15+
board.SPI(), board.A5, board.A4, "top.bin"
16+
)
1117

1218
timestamp = time.monotonic()
1319

1420
iceprog.program_fpga()
1521

1622
endstamp = time.monotonic()
17-
print("done in: ",(endstamp - timestamp),"seconds")
23+
print("done in: ", (endstamp - timestamp), "seconds")
1824

19-
print("done")
25+
print("done")

0 commit comments

Comments
 (0)