Skip to content

Instantly share code, notes, and snippets.

View szekelyisz's full-sized avatar

Szabolcs Székelyi szekelyisz

View GitHub Profile
@arturo182
arturo182 / bom2grouped_csv_jlcpcb.xsl
Last active November 10, 2025 05:01
A KiCad BOM script for generating JLCPCB PCBA-compatible files!
<!--XSL style sheet to convert EESCHEMA XML Partlist Format to grouped CSV BOM Format
Copyright (C) 2014, Wolf Walter.
Copyright (C) 2013, Stefan Helmert.
Copyright (C) 2018, Kicad developers.
Copyright (C) 2019, arturo182.
GPL v2.
Functionality:
Generation of JLCPCB PCBA compatible BOM
@HappyCodingRobot
HappyCodingRobot / LED_cie1931.py
Created June 6, 2015 16:20
Create correction table for PWM values based on CIE1931 algorithm
#!/usr/bin/python3
#
''' Script to create a correction table for PWM values
to create linear brightness for a LED
based on the CIE1931 algorithm
original author: ??
'''
PWM_BIT_SIZE = 8 # Bit size of used PWM
CORR_TABLE_SIZE = 16 # Number of elements in vector
####