• R/O
  • SSH

stock: Commit

definitions & routines shared by projects


Commit MetaInfo

Revision40c2de22b789dfeb60d9c4dc6bd367db97818384 (tree)
Zeit2020-03-19 06:29:35
AutorPJ
CommiterPJ

Log Message

include/time_diff.h: time_inc_us(); kicad/stock.pretty/Relay_HFD27.kicad_mod

Ändern Zusammenfassung

Diff

diff -r 205118271f64 -r 40c2de22b789 include/time_diff.h
--- a/include/time_diff.h Sat Feb 15 12:11:24 2020 +0000
+++ b/include/time_diff.h Wed Mar 18 21:29:35 2020 +0000
@@ -83,3 +83,9 @@
8383 res.tv_usec = us % 1000000;
8484 #endif
8585 }
86+
87+inline
88+void time_inc_us(timestamp_t & res, unsigned d)
89+{
90+ time_add_us(res, res, d);
91+}
diff -r 205118271f64 -r 40c2de22b789 kicad/stock.pretty/Relay_HFD27.kicad_mod
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/kicad/stock.pretty/Relay_HFD27.kicad_mod Wed Mar 18 21:29:35 2020 +0000
@@ -0,0 +1,38 @@
1+(module Relay_HFD27 (layer F.Cu) (tedit 5E7273C8)
2+ (descr "Relay HFD27")
3+ (tags "THT Relay 300mil")
4+ (fp_text reference REF** (at 3.81 -2.33) (layer F.SilkS)
5+ (effects (font (size 1 1) (thickness 0.15)))
6+ )
7+ (fp_text value Relay_HFD27 (at 3.81 20.11) (layer F.Fab)
8+ (effects (font (size 1 1) (thickness 0.15)))
9+ )
10+ (fp_line (start -1.27 -1.33) (end -1.27 19.11) (layer F.Fab) (width 0.1))
11+ (fp_line (start -1.27 19.11) (end 8.89 19.11) (layer F.Fab) (width 0.1))
12+ (fp_line (start 8.89 19.11) (end 8.89 -1.33) (layer F.Fab) (width 0.1))
13+ (fp_line (start 8.89 -1.33) (end -1.27 -1.33) (layer F.Fab) (width 0.1))
14+ (fp_line (start -1.44 -1.39) (end -1.44 19.17) (layer F.SilkS) (width 0.12))
15+ (fp_line (start -1.44 19.17) (end 9.06 19.17) (layer F.SilkS) (width 0.12))
16+ (fp_line (start 9.06 19.17) (end 9.06 -1.39) (layer F.SilkS) (width 0.12))
17+ (fp_line (start 9.06 -1.39) (end -1.44 -1.39) (layer F.SilkS) (width 0.12))
18+ (fp_line (start -1.55 -1.6) (end -1.55 19.4) (layer F.CrtYd) (width 0.05))
19+ (fp_line (start -1.55 19.4) (end 9.15 19.4) (layer F.CrtYd) (width 0.05))
20+ (fp_line (start 9.15 19.4) (end 9.15 -1.6) (layer F.CrtYd) (width 0.05))
21+ (fp_line (start 9.15 -1.6) (end -1.55 -1.6) (layer F.CrtYd) (width 0.05))
22+ (fp_text user %R (at 3.81 8.89) (layer F.Fab)
23+ (effects (font (size 1 1) (thickness 0.15)))
24+ )
25+ (pad 1 thru_hole oval (at 0 0) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
26+ (pad 9 thru_hole oval (at 7.62 17.78) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
27+ (pad 11 thru_hole oval (at 7.62 12.7) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
28+ (pad 4 thru_hole oval (at 0 7.62) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
29+ (pad 13 thru_hole oval (at 7.62 7.62) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
30+ (pad 6 thru_hole oval (at 0 12.7) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
31+ (pad 8 thru_hole oval (at 0 17.78) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
32+ (pad 16 thru_hole oval (at 7.62 0) (size 2.4 1.6) (drill 1.0) (layers *.Cu *.Mask))
33+ (model ${KISYS3DMOD}/Package_DIP.3dshapes/DIP-16_W7.62mm_Socket.wrl
34+ (at (xyz 0 0 0))
35+ (scale (xyz 1 1 1))
36+ (rotate (xyz 0 0 0))
37+ )
38+)
Show on old repository browser