Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import re
import sys
import time
import subprocess
import multiprocessing
import termplotlib as tpl
import numpy as np
@smunaut
smunaut / ice40_global.md
Last active May 5, 2020 14:18
iCE40 Global Networks

UP5k SG48:

ID Use SB_IO_GB SB_GB Special
x/y/z (pin) x/y x/y type
0 Clk / Reset 19/ 0/1 (20) 13/ 0
1 Clk / CE 6/ 0/1 (44) 13/31
2 Clk / Reset 13/31/0 (37) 19/31 12/31 PLL_B
3 Clk / CE 6/31
@boq
boq / gist:9a098b89ee102cbf1b2b
Last active October 24, 2019 01:18
OpenPeripheral Addons terminal glasses events
All events have same first three arguments: <1:source peripheral> <2:player name> <3:player uuid>
State events:
glasses_attach - player started wearing glasses
glasses_detach - player stopped wearing glasses
glasses_capture - player initiated capture mode (used keyboard)
glasses_release - player exited capture mode (exited gui screen)
Chat events: