Date:2016-09-13 07:10:54 (3 years 6 days ago)
Author:Werner Almesberger
Commit:97e92c854c08f91b35a4cdd71b5bc1255d340e4a
Message:modules/components/lga.fpd: add clockwise pin assignment, for BME280 et al.

Files: modules/lga.fpd (3 diffs)

Change Details

modules/lga.fpd
11/* MACHINE-GENERATED ! */
22
33frame piny {
4    set name = i*f+a
4    table
5        { ?cw, name }
6        { 0, i*f+a }
7        { 1, pins-a-i*f-nx+1 }
58
69    __0: vec @(dx*(py/2+pe), px/2)
710    __1: vec @(-dx*py/2, -px/2)
...... 
2528}
2629
2730frame pinx {
28    set name = i*f+a
31    table
32        { ?cw, name }
33        { 0, i*f+a }
34        { 1, a+(nx-i-1)*f }
2935
3036    __0: vec @(px/2, -dy*py/2)
3137    __1: vec @(-px/2, dy*py/2)
...... 
6874unit mm
6975
7076table
71    { variant, nx, ny, sx, sy, e, b, px, py, pe }
72    { "", 3, 5, 3mm, 3mm, 0.5mm, 0.1mm, 0.25mm, 0.35mm, 0.2mm }
73    { "-BME280", 0, 4, 2.5mm, 2.5mm, 0.65mm, 0.125mm, 0.35mm, 0.35mm, 0.15mm }
77    { variant, nx, ny, sx, sy, e, b, px, py, pe, cw }
78    { "", 3, 5, 3mm, 3mm, 0.5mm, 0.1mm, 0.25mm, 0.35mm, 0.2mm, 0 }
79    { "-BME280", 0, 4, 2.5mm, 2.5mm, 0.65mm, 0.125mm, 0.35mm, 0.35mm, 0.15mm, 1 }
7480
7581set pins = 2*(nx+ny)
7682

Archive Download the corresponding diff file

Branches:
master



interactive