Skip to content

Instantly share code, notes, and snippets.

View xesscorp's full-sized avatar
💭
I closed XESS Corp. I'm now at github.com/devbisme.

xesscorp xesscorp

💭
I closed XESS Corp. I'm now at github.com/devbisme.
View GitHub Profile
(module 2.54SOP4 (layer F.Cu) (tedit 56058C23)
(fp_text reference U** (at 0 4.42) (layer F.SilkS)
(effects (font (size 1.2 1.2) (thickness 0.2)))
)
(fp_text value 2.54SOP4 (at 0 -4.42) (layer F.SilkS)
(effects (font (size 1.2 1.2) (thickness 0.2)))
)
(fp_line (start -2.55 -1.17) (end -2.55 1.95) (layer F.SilkS) (width 0.2))
(fp_line (start -2.55 1.95) (end 2.55 1.95) (layer F.SilkS) (width 0.2))
(fp_line (start 2.55 1.95) (end 2.55 -1.95) (layer F.SilkS) (width 0.2))
@xesscorp
xesscorp / cts_res_arrays.py
Created September 1, 2015 15:03
Execute this Python script and it will generate footprint modules for all the CTS 740 series of resistor arrays.
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
def max(self, pt):
return Point(max(self.x, pt.x), max(self.y, pt.y))
def min(self, pt):
return Point(min(self.x, pt.x), min(self.y, pt.y))
@xesscorp
xesscorp / ESP8266_connection_trace
Created October 20, 2014 15:44
This is a trace of the commands sent to and the responses received from an ESP8266 Wifi module as it connects to a website and receives a page of HTML.
----------- ESP8266 Demo -----------
--------------------------------------
COMMAND: AT+RST
AT+RST