This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from machine import Pin | |
import time | |
# Futaba 8-MD-06INKM datasheet @ https://davll.me/posts/2021/05/22/futaba-vfd-1/data/008MD006INKM_A.pdf | |
# DIN -> GP3 (SPI0 TX) | |
# CLK -> GP2 (SPI0 SCK) | |
# CS -> GP1 (SPI0 CSn) | |
# RESET -> GP4 | |
# EN -> 5V (VBUS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import io | |
import sys | |
json = json.load(open(sys.argv[1], "r")) | |
for patch_info in json: | |
print("# " + patch_info["name"]) | |
#print("# " + patch_info["description"]) | |
for patches in patch_info["patches"]: |