Skip to content

Instantly share code, notes, and snippets.

@DinsFire64
DinsFire64 / mame2piuio.py
Last active March 26, 2023 19:53
Connects to mame's network socket, grabs 573 lighting info, writes it to the piuio using djpohly's kernel driver.
#!/usr/bin/env python
# =============================================================================
# Author: din
# Requirements: Linux and mame-git
# Description: Set mame "output" option in mame.ini to "network" and then
# run this script after launching mame.
# =============================================================================
import socket