Skip to content

Instantly share code, notes, and snippets.

View Kayakbabe's full-sized avatar

Kelly Eberhard Allen Kayakbabe

View GitHub Profile
@gandy92
gandy92 / write_spool_nfc.py
Created May 16, 2020 07:47
Python 3 script to demonstrate writing custom data to Ultimaker filament NFC tag
# -*- coding: utf-8 -*-
# https://github.com/BrianHVB/intro-to-smartcard-development#heading--python-example-1
#
# required packages: pyscard
#
from smartcard.Exceptions import NoCardException
from smartcard.System import *
from smartcard import util
from ums5 import MyFilamentSpool, decode
import uuid