Initial commit
Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
*-bak
|
||||
*cache*
|
||||
@@ -0,0 +1,692 @@
|
||||
// for ATMEGA328P
|
||||
#include <NmraDcc.h>
|
||||
|
||||
// Uncomment to force CV Reset to Factory Defaults
|
||||
//#define RESET_FACTORY_DEFAULTS
|
||||
|
||||
// Uncomment any of the lines below to enable debug messages for different parts of the code
|
||||
//#define DEBUG_FUNCTIONS
|
||||
//#define DEBUG_SPEED
|
||||
//#define DEBUG_PWM
|
||||
//#define DEBUG_DCC_ACK
|
||||
//#define DEBUG_DCC_MSG
|
||||
//#define DEBUG_STATE
|
||||
|
||||
#if defined(DEBUG_FUNCTIONS) or defined(DEBUG_SPEED) or defined(DEBUG_PWM) or defined(DEBUG_DCC_ACK) or defined(DEBUG_DCC_MSG) or defined(DEBUG_STATE)
|
||||
#define DEBUG_PRINT
|
||||
#endif
|
||||
|
||||
#define DECODER_ADDRESS 3
|
||||
#define LONG_ADDRESS 123
|
||||
|
||||
#define CV_VSTART 2
|
||||
#define START_VOLTAGE 10 // 255 is full rectified voltage
|
||||
|
||||
#define CV_ACC_RATE 3
|
||||
#define ACC_RATE 3 // value*0.896/speed_steps sec/step 3->2.688 sec to full speed
|
||||
|
||||
#define CV_DEC_RATE 4
|
||||
#define DEC_RATE 3 // value*0.896/speed_steps sec/step 3->2.688 sec from full speed
|
||||
|
||||
#define CV_VHIGH 5
|
||||
#define HIGH_VOLTAGE 255 // 255 is full rectified voltage
|
||||
|
||||
#define CV_VMID 6
|
||||
#define MID_VOLTAGE 127 // 255 is full rectified voltage
|
||||
|
||||
#define VERSION 1 // CV 7
|
||||
|
||||
#define CV_PWM_PERIOD 9
|
||||
#define PWM_PERIOD 1
|
||||
|
||||
#define CV_PACKET_TIMEOUT 11
|
||||
#define PACKET_TIMEOUT 100 // in 10 ms
|
||||
#define CV_UNLOCK_NUMBER 15
|
||||
#define CV_LOCKING_NUMBER 16
|
||||
#define CV_AUTO_STOP_CONFIG 27
|
||||
#define CV_OUTPUT_LOCATION_F0f 33
|
||||
#define CV_OUTPUT_LOCATION_F0r 34
|
||||
#define CV_OUTPUT_LOCATION_F1 35
|
||||
#define CV_OUTPUT_LOCATION_F2 36
|
||||
#define CV_OUTPUT_LOCATION_F3 37
|
||||
#define CV_OUTPUT_LOCATION_F4 38
|
||||
#define CV_OUTPUT_LOCATION_F5 39
|
||||
#define CV_OUTPUT_LOCATION_F6 40
|
||||
#define CV_OUTPUT_LOCATION_F7 41
|
||||
#define CV_OUTPUT_LOCATION_F8 42
|
||||
#define CV_OUTPUT_LOCATION_F9 43
|
||||
#define CV_OUTPUT_LOCATION_F10 44
|
||||
#define CV_OUTPUT_LOCATION_F11 45
|
||||
#define CV_OUTPUT_LOCATION_F12 46
|
||||
#define CV_PRODUCT_ID 47 //Product ID: 47-50 (CV47<<24 + CV48<<16 + CV49<<8 + CV50)
|
||||
#define CV_KICK_START 65
|
||||
#define CV_FWD_TRIM 66
|
||||
#define CV_SPEED_MAP 67 //67-94
|
||||
#define CV_REV_TRIM 95
|
||||
#define CV_USER_ID1 105
|
||||
#define CV_USER_ID2 106
|
||||
|
||||
//todo
|
||||
// function effects 57-61, dimming, inverting, 0-speed activate/deactivate
|
||||
// SW_IN function mapping, minimum time
|
||||
// overload amplitude, time
|
||||
|
||||
#define DCC_PIN 2
|
||||
#define MOTOR_IN1_PIN 9
|
||||
#define MOTOR_IN2_PIN 10
|
||||
#define MOTOR_nFAULT_PIN 8
|
||||
#define LED_F0f_PIN 5
|
||||
#define LED_F0r_PIN 6
|
||||
#define LED_AUX1_PIN 3
|
||||
#define LED_AUX2_PIN 11
|
||||
#define LED_AUX3_PIN A0
|
||||
#define LED_AUX4_PIN A1
|
||||
#define LED_AUX5_PIN A2
|
||||
#define LED_AUX6_PIN A3
|
||||
#define LED_AUX7_PIN A4
|
||||
#define LED_AUX8_PIN A5
|
||||
#define LED_GREEN_PIN 12
|
||||
#define LED_YELLOW_PIN 13
|
||||
#define LED_RED_PIN 7
|
||||
#define LED_BLUE_PIN 4
|
||||
#define DCC1_PK_PIN A6
|
||||
#define DCC2_PK_PIN A7
|
||||
|
||||
NmraDcc dcc;
|
||||
|
||||
struct CVPair{
|
||||
uint16_t CV;
|
||||
uint8_t Value;
|
||||
};
|
||||
|
||||
CVPair factoryDefaultCVs [] =
|
||||
{
|
||||
{CV_MULTIFUNCTION_PRIMARY_ADDRESS, DECODER_ADDRESS&0x7F },//CV1
|
||||
{CV_VSTART, START_VOLTAGE },//CV2
|
||||
{CV_ACC_RATE, ACC_RATE },//CV3
|
||||
{CV_DEC_RATE, DEC_RATE },//CV4
|
||||
{CV_VHIGH, HIGH_VOLTAGE },//CV5
|
||||
{CV_VMID, MID_VOLTAGE },//CV6, (CV7, CV8 implicit in dcc.init())
|
||||
{CV_PWM_PERIOD, PWM_PERIOD},//CV9
|
||||
{CV_PACKET_TIMEOUT, PACKET_TIMEOUT},//CV11
|
||||
{CV_UNLOCK_NUMBER, 0},
|
||||
{CV_LOCKING_NUMBER, 0},
|
||||
{CV_MULTIFUNCTION_EXTENDED_ADDRESS_MSB, highByte(LONG_ADDRESS) + 0xC0},
|
||||
{CV_MULTIFUNCTION_EXTENDED_ADDRESS_LSB, lowByte(LONG_ADDRESS)},
|
||||
{CV_AUTO_STOP_CONFIG, 0b00110011},//7,6: reserved, 5: DC+, 4: DC-, 3: unused, 2: Signal, 1: Asym left, 0: Asym right
|
||||
{CV_29_CONFIG, 0x00
|
||||
//| CV29_LOCO_DIR // 0: normal direction, 1: reversed direction
|
||||
| CV29_F0_LOCATION // 0: 14 speed steps, 1:28/128 speed steps
|
||||
//| CV29_APS // 0: only DCC, 1: analogue enabled
|
||||
//| CV29_ADV_ACK // 0: Railcom disabled, 1: Railcom enabled
|
||||
//| CV29_SPEED_TABLE_ENABLE // 0: simple speed curve (CV2, CV5, CV6)
|
||||
#ifdef LONG_ADDRESS
|
||||
| CV29_EXT_ADDRESSING // 0: one byte addressing, 1: two byte addressing
|
||||
#endif
|
||||
//| CV29_OUTPUT_ADDRESS_MODE // 0: Decoder Address Mode, 1: Output Address Mode
|
||||
//| CV29_ACCESSORY_DECODER // 0: Multi-Function Decoder Mode, 1: Accessory Decoder Mode
|
||||
},
|
||||
{CV_OUTPUT_LOCATION_F0f, 1},// 1:F0f, 2:F0r, 4:AUX1, 8:AUX2, 16:AUX3, 32:AUX4, 64:AUX5, 128:AUX6
|
||||
{CV_OUTPUT_LOCATION_F0r, 2},// 1:F0f, 2:F0r, 4:AUX1, 8:AUX2, 16:AUX3, 32:AUX4, 64:AUX5, 128:AUX6
|
||||
{CV_OUTPUT_LOCATION_F1, 4}, // 1:F0f, 2:F0r, 4:AUX1, 8:AUX2, 16:AUX3, 32:AUX4, 64:AUX5, 128:AUX6
|
||||
{CV_OUTPUT_LOCATION_F2, 8}, // 1:F0f, 2:F0r, 4:AUX1, 8:AUX2, 16:AUX3, 32:AUX4, 64:AUX5, 128:AUX6
|
||||
{CV_OUTPUT_LOCATION_F3, 16},// 1:F0f, 2:F0r, 4:AUX1, 8:AUX2, 16:AUX3, 32:AUX4, 64:AUX5, 128:AUX6
|
||||
{CV_OUTPUT_LOCATION_F4, 4}, // 1:AUX2, 2:AUX3, 4:AUX4, 8:AUX5, 16:AUX6, 32:AUX7, 64:AUX8
|
||||
{CV_OUTPUT_LOCATION_F5, 8}, // 1:AUX2, 2:AUX3, 4:AUX4, 8:AUX5, 16:AUX6, 32:AUX7, 64:AUX8
|
||||
{CV_OUTPUT_LOCATION_F6, 16},// 1:AUX2, 2:AUX3, 4:AUX4, 8:AUX5, 16:AUX6, 32:AUX7, 64:AUX8
|
||||
{CV_OUTPUT_LOCATION_F7, 32},// 1:AUX2, 2:AUX3, 4:AUX4, 8:AUX5, 16:AUX6, 32:AUX7, 64:AUX8
|
||||
{CV_OUTPUT_LOCATION_F8, 64},// 1:AUX2, 2:AUX3, 4:AUX4, 8:AUX5, 16:AUX6, 32:AUX7, 64:AUX8
|
||||
{CV_OUTPUT_LOCATION_F9, 0}, // 1:AUX5, 2:AUX6, 4:AUX7, 8:AUX8
|
||||
{CV_OUTPUT_LOCATION_F10, 0},// 1:AUX5, 2:AUX6, 4:AUX7, 8:AUX8
|
||||
{CV_OUTPUT_LOCATION_F11, 0},// 1:AUX5, 2:AUX6, 4:AUX7, 8:AUX8
|
||||
{CV_OUTPUT_LOCATION_F12, 0},// 1:AUX5, 2:AUX6, 4:AUX7, 8:AUX8
|
||||
{CV_PRODUCT_ID+0, 0}, // product ID highest byte
|
||||
{CV_PRODUCT_ID+1, 0}, // product ID high byte
|
||||
{CV_PRODUCT_ID+2, 1}, // product ID low byte
|
||||
{CV_PRODUCT_ID+3, 2}, // product ID lowest byte
|
||||
{CV_KICK_START, 100},
|
||||
{CV_FWD_TRIM, 128},
|
||||
{CV_SPEED_MAP+0, 43},
|
||||
{CV_SPEED_MAP+1, 46},
|
||||
{CV_SPEED_MAP+2, 50},
|
||||
{CV_SPEED_MAP+3, 54},
|
||||
{CV_SPEED_MAP+4, 58},
|
||||
{CV_SPEED_MAP+5, 62},
|
||||
{CV_SPEED_MAP+6, 66},
|
||||
{CV_SPEED_MAP+7, 71},
|
||||
{CV_SPEED_MAP+8, 76},
|
||||
{CV_SPEED_MAP+9, 81},
|
||||
{CV_SPEED_MAP+10, 87},
|
||||
{CV_SPEED_MAP+11, 93},
|
||||
{CV_SPEED_MAP+12, 99},
|
||||
{CV_SPEED_MAP+13, 106},
|
||||
{CV_SPEED_MAP+14, 113},
|
||||
{CV_SPEED_MAP+15, 121},
|
||||
{CV_SPEED_MAP+16, 129},
|
||||
{CV_SPEED_MAP+17, 137},
|
||||
{CV_SPEED_MAP+18, 146},
|
||||
{CV_SPEED_MAP+19, 155},
|
||||
{CV_SPEED_MAP+20, 165},
|
||||
{CV_SPEED_MAP+21, 176},
|
||||
{CV_SPEED_MAP+22, 187},
|
||||
{CV_SPEED_MAP+23, 199},
|
||||
{CV_SPEED_MAP+24, 212},
|
||||
{CV_SPEED_MAP+25, 226},
|
||||
{CV_SPEED_MAP+26, 240},
|
||||
{CV_SPEED_MAP+27, 255},
|
||||
{CV_REV_TRIM, 128},
|
||||
{CV_USER_ID1, 42},
|
||||
{CV_USER_ID2, 42},
|
||||
};
|
||||
|
||||
uint8_t factoryDefaultCVIndex = 0;
|
||||
// state variables
|
||||
uint8_t numSpeedSteps = SPEED_STEP_128;
|
||||
uint32_t lastFunctionState;
|
||||
uint32_t newFunctionState;
|
||||
bool lastDirection; // DCC_DIR_FWD(1): (a+/b-), DCC_DIR_REV(0): rev (a-/b+)
|
||||
bool newDirection; // DCC_DIR_FWD(1): (a+/b-), DCC_DIR_REV(0): rev (a-/b+)
|
||||
bool actualDirection; // DCC_DIR_FWD(1): (a+/b-), DCC_DIR_REV(0): rev (a-/b+)
|
||||
uint8_t lastSpeed; // 0-127, 0:EMCY stop, 1: normal stop, 2-127: drive
|
||||
uint8_t newSpeed; // 0-127, 0:EMCY stop, 1: normal stop, 2-127: drive
|
||||
uint8_t actualSpeed;
|
||||
uint8_t targetSpeed;
|
||||
uint8_t savedSpeed;
|
||||
uint16_t maxOCR;
|
||||
// timing for acceleration / deceleration
|
||||
uint32_t lastSpeedStep = 0;
|
||||
uint32_t newSpeedStep = 0;
|
||||
uint32_t packetTimeout;
|
||||
uint32_t lastPacket;
|
||||
// configuration variables
|
||||
uint8_t vStart;
|
||||
uint8_t vMid;
|
||||
uint8_t vHigh;
|
||||
uint8_t accRate;
|
||||
uint8_t decRate;
|
||||
uint8_t pwmPeriod;
|
||||
uint8_t functionMapping[14];
|
||||
uint8_t lastOutputState = 0;
|
||||
uint8_t newOutputState = 0;
|
||||
|
||||
void notifyCVResetFactoryDefault(){
|
||||
/*+
|
||||
* notifyCVResetFactoryDefault() Called when CVs must be reset.
|
||||
* This is called when CVs must be reset
|
||||
* to their factory defaults. This callback
|
||||
* should write the factory default value of
|
||||
* relevent CVs using the setCV() method.
|
||||
* setCV() must not block whens this is called.
|
||||
* Test with isSetCVReady() prior to calling setCV()
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
* *
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
// Make FactoryDefaultCVIndex non-zero and equal to num CV's to be reset
|
||||
// to flag to the loop() function that a reset to Factory Defaults needs to be done
|
||||
factoryDefaultCVIndex = sizeof(factoryDefaultCVs)/sizeof(CVPair);
|
||||
};
|
||||
|
||||
void notifyDccReset(uint8_t hardReset){
|
||||
/*+
|
||||
* notifyDccReset(uint8_t hardReset) Callback for a DCC reset command.
|
||||
*
|
||||
* Inputs:
|
||||
* hardReset - 0 normal reset command.
|
||||
* 1 hard reset command.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
;
|
||||
}
|
||||
|
||||
void notifyDccIdle(void){
|
||||
/*+
|
||||
* notifyDccIdle() Callback for a DCC idle command.
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
;
|
||||
}
|
||||
|
||||
void notifyCVChange( uint16_t CV, uint8_t Value){
|
||||
/*+
|
||||
* notifyCVChange() Called when a CV value is changed.
|
||||
* This is called whenever a CV's value is changed.
|
||||
* notifyDccCVChange() Called only when a CV value is changed by a Dcc packet or a internal lib function.
|
||||
* it is NOT called if the CV is changed by means of the setCV() method.
|
||||
* Note: It is not called if notifyCVWrite() is defined
|
||||
* or if the value in the EEPROM is the same as the value
|
||||
* in the write command.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number.
|
||||
* Value - Value of the CV.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
switch(CV){
|
||||
case CV_VSTART:
|
||||
vStart = Value;
|
||||
break;
|
||||
case CV_ACC_RATE:
|
||||
accRate = Value;
|
||||
break;
|
||||
case CV_DEC_RATE:
|
||||
decRate = Value;
|
||||
break;
|
||||
case CV_VMID:
|
||||
vMid = Value;
|
||||
break;
|
||||
case CV_VHIGH:
|
||||
vHigh = Value;
|
||||
break;
|
||||
case CV_PWM_PERIOD:
|
||||
pwmPeriod = Value;
|
||||
break;
|
||||
case CV_OUTPUT_LOCATION_F0f:
|
||||
case CV_OUTPUT_LOCATION_F0r:
|
||||
case CV_OUTPUT_LOCATION_F1:
|
||||
case CV_OUTPUT_LOCATION_F2:
|
||||
case CV_OUTPUT_LOCATION_F3:
|
||||
case CV_OUTPUT_LOCATION_F4:
|
||||
case CV_OUTPUT_LOCATION_F5:
|
||||
case CV_OUTPUT_LOCATION_F6:
|
||||
case CV_OUTPUT_LOCATION_F7:
|
||||
case CV_OUTPUT_LOCATION_F8:
|
||||
case CV_OUTPUT_LOCATION_F9:
|
||||
case CV_OUTPUT_LOCATION_F10:
|
||||
case CV_OUTPUT_LOCATION_F11:
|
||||
case CV_OUTPUT_LOCATION_F12:
|
||||
functionMapping[CV - CV_OUTPUT_LOCATION_F0f] = Value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void notifyDccSpeed(uint16_t Addr, DCC_ADDR_TYPE AddrType, uint8_t Speed, DCC_DIRECTION Dir, DCC_SPEED_STEPS SpeedSteps){
|
||||
/*+
|
||||
* notifyDccSpeed() Callback for a multifunction decoder speed command.
|
||||
* The received speed and direction are unpacked to separate values.
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Active decoder address.
|
||||
* AddrType - DCC_ADDR_SHORT or DCC_ADDR_LONG.
|
||||
* Speed - Decoder speed. 0 = Emergency stop
|
||||
* 1 = Regular stop
|
||||
* 2 to SpeedSteps = Speed step 1 to max.
|
||||
* Dir - DCC_DIR_REV or DCC_DIR_FWD
|
||||
* SpeedSteps - Highest speed, SPEED_STEP_14 = 15
|
||||
* SPEED_STEP_28 = 29
|
||||
* SPEED_STEP_128 = 127
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
#ifdef DEBUG_SPEED
|
||||
Serial.print("notifyDccSpeed: Addr: ");
|
||||
Serial.print(Addr,DEC);
|
||||
Serial.print( (AddrType == DCC_ADDR_SHORT) ? "-S" : "-L" );
|
||||
Serial.print(" Speed: ");
|
||||
Serial.print(Speed,DEC);
|
||||
Serial.print(" Steps: ");
|
||||
Serial.print(SpeedSteps,DEC);
|
||||
Serial.print(" Dir: ");
|
||||
Serial.println( (Dir == DCC_DIR_FWD) ? "Forward" : "Reverse" );
|
||||
#endif
|
||||
newDirection = Dir;
|
||||
newSpeed = Speed;
|
||||
numSpeedSteps = SpeedSteps;
|
||||
}
|
||||
|
||||
void notifyDccFunc(uint16_t Addr, DCC_ADDR_TYPE AddrType, FN_GROUP FuncGrp, uint8_t FuncState){
|
||||
/*+
|
||||
* notifyDccFunc() Callback for a multifunction decoder function command.
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Active decoder address.
|
||||
* AddrType - DCC_ADDR_SHORT or DCC_ADDR_LONG.
|
||||
* FuncGrp - Function group. FN_0 - 14 speed step headlight function.
|
||||
* Mask FN_BIT_00.
|
||||
* FN_0_4 - Functions 0 to 4. Mask FN_BIT_00 - FN_BIT_04
|
||||
* FN_5_8 - Functions 5 to 8. Mask FN_BIT_05 - FN_BIT_08
|
||||
* FN_9_12 - Functions 9 to 12. Mask FN_BIT_09 - FN_BIT_12
|
||||
* FN_13_20 - Functions 13 to 20. Mask FN_BIT_13 - FN_BIT_20
|
||||
* FN_21_28 - Functions 21 to 28. Mask FN_BIT_21 - FN_BIT_28
|
||||
* FuncState - Function state. Bitmask where active functions have a 1 at that bit.
|
||||
* You must & FuncState with the appropriate
|
||||
* FN_BIT_nn value to isolate a given bit.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
#ifdef DEBUG_FUNCTIONS
|
||||
Serial.print("notifyDccFunc: Addr: ");
|
||||
Serial.print(Addr,DEC);
|
||||
Serial.print( (AddrType == DCC_ADDR_SHORT) ? 'S' : 'L' );
|
||||
Serial.print(" Function Group: ");
|
||||
Serial.print(FuncGrp,DEC);
|
||||
#endif
|
||||
|
||||
switch(FuncGrp){
|
||||
case FN_0_4:
|
||||
bitWrite(newFunctionState, 0, FuncState & FN_BIT_00);
|
||||
bitWrite(newFunctionState, 1, FuncState & FN_BIT_01);
|
||||
bitWrite(newFunctionState, 2, FuncState & FN_BIT_02);
|
||||
bitWrite(newFunctionState, 3, FuncState & FN_BIT_03);
|
||||
bitWrite(newFunctionState, 4, FuncState & FN_BIT_04);
|
||||
#ifdef DEBUG_FUNCTIONS
|
||||
Serial.print(" FN 0-4: ");
|
||||
Serial.print(newFunctionState & 0x1F);
|
||||
#endif
|
||||
break;
|
||||
case FN_5_8:
|
||||
bitWrite(newFunctionState, 5, FuncState & FN_BIT_05);
|
||||
bitWrite(newFunctionState, 6, FuncState & FN_BIT_06);
|
||||
bitWrite(newFunctionState, 7, FuncState & FN_BIT_07);
|
||||
bitWrite(newFunctionState, 8, FuncState & FN_BIT_08);
|
||||
#ifdef DEBUG_FUNCTIONS
|
||||
Serial.print(" FN 5-8: ");
|
||||
Serial.print((newFunctionState >> 5) & 0xF);
|
||||
#endif
|
||||
break;
|
||||
case FN_9_12:
|
||||
bitWrite(newFunctionState, 9, FuncState & FN_BIT_09);
|
||||
bitWrite(newFunctionState, 10, FuncState & FN_BIT_10);
|
||||
bitWrite(newFunctionState, 11, FuncState & FN_BIT_11);
|
||||
bitWrite(newFunctionState, 12, FuncState & FN_BIT_12);
|
||||
#ifdef DEBUG_FUNCTIONS
|
||||
Serial.print(" FN 9-12: ");
|
||||
Serial.print((newFunctionState >> 9) & 0xF);
|
||||
#endif
|
||||
break;
|
||||
case FN_13_20:
|
||||
bitWrite(newFunctionState, 13, FuncState & FN_BIT_13);
|
||||
bitWrite(newFunctionState, 14, FuncState & FN_BIT_14);
|
||||
bitWrite(newFunctionState, 15, FuncState & FN_BIT_15);
|
||||
bitWrite(newFunctionState, 16, FuncState & FN_BIT_16);
|
||||
bitWrite(newFunctionState, 17, FuncState & FN_BIT_17);
|
||||
bitWrite(newFunctionState, 18, FuncState & FN_BIT_18);
|
||||
bitWrite(newFunctionState, 19, FuncState & FN_BIT_19);
|
||||
bitWrite(newFunctionState, 20, FuncState & FN_BIT_20);
|
||||
#ifdef DEBUG_FUNCTIONS
|
||||
Serial.print(" FN 13-20: ");
|
||||
Serial.print((newFunctionState >> 13) & 0xFF);
|
||||
#endif
|
||||
break;
|
||||
case FN_21_28:
|
||||
bitWrite(newFunctionState, 21, FuncState & FN_BIT_21);
|
||||
bitWrite(newFunctionState, 22, FuncState & FN_BIT_22);
|
||||
bitWrite(newFunctionState, 23, FuncState & FN_BIT_23);
|
||||
bitWrite(newFunctionState, 24, FuncState & FN_BIT_24);
|
||||
bitWrite(newFunctionState, 25, FuncState & FN_BIT_25);
|
||||
bitWrite(newFunctionState, 26, FuncState & FN_BIT_26);
|
||||
bitWrite(newFunctionState, 27, FuncState & FN_BIT_27);
|
||||
bitWrite(newFunctionState, 28, FuncState & FN_BIT_28);
|
||||
#ifdef DEBUG_FUNCTIONS
|
||||
Serial.print(" FN 21-28: ");
|
||||
Serial.print((newFunctionState >> 21) & 0xFF);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
#ifdef DEBUG_FUNCTIONS
|
||||
Serial.println();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef DEBUG_DCC_MSG
|
||||
void notifyDccMsg( DCC_MSG * Msg){
|
||||
/*+
|
||||
* notifyDccMsg() Raw DCC packet callback.
|
||||
* Called with raw DCC packet bytes.
|
||||
*
|
||||
* Inputs:
|
||||
* Msg - Pointer to DCC_MSG structure. The values are:
|
||||
* Msg->Size - Number of Data bytes in the packet.
|
||||
* Msg->PreambleBits - Number of preamble bits in the packet.
|
||||
* Msg->Data[] - Array of data bytes in the packet.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
Serial.print("notifyDccMsg: ") ;
|
||||
for(uint8_t i = 0; i < Msg->Size; i++){
|
||||
Serial.print(Msg->Data[i], HEX);
|
||||
Serial.write(' ');
|
||||
}
|
||||
Serial.println();
|
||||
}
|
||||
#endif
|
||||
|
||||
void notifyCVAck(void){
|
||||
/*+
|
||||
* notifyCVAck() Called when a CV write must be acknowledged.
|
||||
* This callback must increase the current drawn by this
|
||||
* decoder by at least 60mA for 6ms +/- 1ms.
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
* *
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
static bool ackDir = true;
|
||||
#ifdef DEBUG_DCC_ACK
|
||||
Serial.println("notifyCVAck") ;
|
||||
#endif
|
||||
|
||||
digitalWrite(MOTOR_IN1_PIN, ackDir);
|
||||
digitalWrite(MOTOR_IN2_PIN, !ackDir);
|
||||
delay(6);
|
||||
digitalWrite(MOTOR_IN1_PIN, 1);
|
||||
digitalWrite(MOTOR_IN2_PIN, 1);
|
||||
ackDir = !ackDir;
|
||||
}
|
||||
|
||||
void setup(){
|
||||
#ifdef DEBUG_PRINT
|
||||
Serial.begin(115200);
|
||||
Serial.println("NMRA Dcc Multifunction Motor Decoder Demo");
|
||||
#endif
|
||||
|
||||
pinMode(MOTOR_IN1_PIN, OUTPUT);
|
||||
pinMode(MOTOR_IN2_PIN, OUTPUT);
|
||||
pinMode(LED_F0f_PIN, OUTPUT);
|
||||
pinMode(LED_F0r_PIN, OUTPUT);
|
||||
pinMode(LED_AUX1_PIN, OUTPUT);
|
||||
pinMode(LED_AUX2_PIN, OUTPUT);
|
||||
pinMode(LED_AUX3_PIN, OUTPUT);
|
||||
pinMode(LED_AUX4_PIN, OUTPUT);
|
||||
pinMode(LED_AUX5_PIN, OUTPUT);
|
||||
pinMode(LED_AUX6_PIN, OUTPUT);
|
||||
pinMode(LED_AUX7_PIN, OUTPUT);
|
||||
pinMode(LED_AUX8_PIN, OUTPUT);
|
||||
pinMode(LED_GREEN_PIN, OUTPUT);
|
||||
pinMode(LED_YELLOW_PIN, OUTPUT);
|
||||
pinMode(LED_RED_PIN, OUTPUT);
|
||||
pinMode(LED_BLUE_PIN, OUTPUT);
|
||||
pinMode(MOTOR_nFAULT_PIN, INPUT_PULLUP);
|
||||
|
||||
newDirection = DCC_DIR_FWD;
|
||||
actualDirection = DCC_DIR_FWD;
|
||||
digitalWrite(MOTOR_IN1_PIN, 1);
|
||||
digitalWrite(MOTOR_IN2_PIN, 1);
|
||||
newSpeed = lastSpeed = 0;
|
||||
targetSpeed = actualSpeed = 0;
|
||||
|
||||
dcc.pin(DCC_PIN, false); // interrupt pin 2, no pullup
|
||||
// only process DCC Packets with My Address
|
||||
// Call notifyCVResetFactoryDefault() if CV 7 & 8 == 255
|
||||
dcc.init(MAN_ID_DIY, VERSION, FLAGS_MY_ADDRESS_ONLY | FLAGS_AUTO_FACTORY_DEFAULT, 0);
|
||||
|
||||
#ifdef RESET_FACTORY_DEFAULTS
|
||||
notifyCVResetFactoryDefault();
|
||||
#endif
|
||||
// Read the current CV values for vStart and vHigh
|
||||
vStart = dcc.getCV(CV_VSTART);
|
||||
vMid = dcc.getCV(CV_VMID);
|
||||
vHigh = dcc.getCV(CV_VHIGH);
|
||||
accRate = dcc.getCV(CV_ACC_RATE);
|
||||
decRate = dcc.getCV(CV_DEC_RATE);
|
||||
packetTimeout = 10*dcc.getCV(CV_PACKET_TIMEOUT);
|
||||
pwmPeriod = dcc.getCV(CV_PWM_PERIOD);
|
||||
TCCR1A = _BV(COM1A1) | _BV(COM1A0) | _BV(COM1B1) | _BV(COM1B0); // TIMER1 A and B invert PWM
|
||||
TCCR1B = _BV(WGM13) | _BV(CS10); // TIMER1 prescaler=1, phase and frequency correct mode PWM, TOP=ICR1
|
||||
switch(pwmPeriod){ // f = 8 MHz / TOP
|
||||
case 0: // 40 kHz
|
||||
maxOCR = 200;
|
||||
break;
|
||||
case 1: // 35 kHz
|
||||
maxOCR = 229;
|
||||
break;
|
||||
case 2: // 30 kHz
|
||||
maxOCR = 267;
|
||||
break;
|
||||
case 3: // 25 kHz
|
||||
maxOCR = 320;
|
||||
break;
|
||||
case 4: // 20 kHz
|
||||
maxOCR = 400;
|
||||
break;
|
||||
}
|
||||
ICR1 = maxOCR;
|
||||
|
||||
for(byte i=0;i<14;i++){
|
||||
functionMapping[i] = dcc.getCV(CV_OUTPUT_LOCATION_F0f + i);
|
||||
}
|
||||
}
|
||||
|
||||
void loop(){
|
||||
if(dcc.process()){ // update last valid packet reception time
|
||||
lastPacket = millis();
|
||||
}
|
||||
if((millis()-lastPacket) > packetTimeout){ // timeout since last valid packet
|
||||
newSpeed = 0;
|
||||
}
|
||||
switch(dcc.getDccPolarity()){
|
||||
case RISING:
|
||||
digitalWrite(LED_GREEN_PIN, LOW);
|
||||
digitalWrite(LED_BLUE_PIN, HIGH);
|
||||
break;
|
||||
case FALLING:
|
||||
digitalWrite(LED_GREEN_PIN, HIGH);
|
||||
digitalWrite(LED_BLUE_PIN, LOW);
|
||||
break;
|
||||
}
|
||||
// handle direction changes
|
||||
if(newDirection != actualDirection){
|
||||
if(lastDirection != newDirection){
|
||||
savedSpeed = targetSpeed;
|
||||
lastDirection = newDirection;
|
||||
}
|
||||
targetSpeed = 0;
|
||||
if(actualSpeed == 0){
|
||||
actualDirection = newDirection;
|
||||
targetSpeed = savedSpeed;
|
||||
}
|
||||
}else{
|
||||
targetSpeed = savedSpeed;
|
||||
}
|
||||
digitalWrite(LED_YELLOW_PIN, (actualDirection == DCC_DIR_FWD) || (newDirection == DCC_DIR_FWD));
|
||||
digitalWrite(LED_RED_PIN, (actualDirection == DCC_DIR_REV) || (newDirection == DCC_DIR_REV));
|
||||
// handle speed change
|
||||
if(lastSpeed != newSpeed){
|
||||
lastSpeed = newSpeed;
|
||||
if(newSpeed == 0){ // Stop if speed = 0
|
||||
targetSpeed = actualSpeed = 0;
|
||||
OCR1A = 0;
|
||||
OCR1B = 0;
|
||||
#ifdef DEBUG_PWM
|
||||
Serial.println("Emergency stop");
|
||||
#endif
|
||||
}else if(newSpeed == 1){ // Stop if speed = 1
|
||||
targetSpeed = 0;
|
||||
#ifdef DEBUG_PWM
|
||||
Serial.println("Regular stop");
|
||||
#endif
|
||||
}else{ // Calculate PWM value in the range 1..255
|
||||
uint8_t vScF1; // start to mid
|
||||
uint8_t vScF2; // mid to high
|
||||
uint8_t modSpeed = newSpeed - 1; // 1-126
|
||||
uint8_t modSteps = numSpeedSteps - 1; // 14/28/126
|
||||
|
||||
if((vHigh > 1) && (vHigh > vStart)){ // vHigh is valid
|
||||
if((vMid > 1) && (vHigh > vMid)){ // vMid is valid too, using vStart, vMid and vHigh
|
||||
vScF1 = vMid - vStart;
|
||||
vScF2 = vHigh - vMid;
|
||||
}else{ // vMid invalid, using vStart and vHigh
|
||||
vScF2 = vScF1 = (vHigh - vStart)/2;
|
||||
}
|
||||
}else{ // vHigh invalid, using only vStart
|
||||
vScF2 = vScF1 = (255 - vStart)/2;
|
||||
}
|
||||
|
||||
if(modSpeed<modSteps/2){
|
||||
targetSpeed = (int16_t) vStart + 2*modSpeed*vScF1/modSteps;
|
||||
}else{
|
||||
targetSpeed = (int16_t) vStart + 2*modSpeed*vScF2/modSteps + vScF1 - vScF2;
|
||||
}
|
||||
}
|
||||
savedSpeed = targetSpeed;
|
||||
}
|
||||
|
||||
// ramp up/down PWM
|
||||
if(targetSpeed != actualSpeed){
|
||||
newSpeedStep = millis();
|
||||
if(targetSpeed > actualSpeed){ // accelerating
|
||||
if((newSpeedStep - lastSpeedStep) > accRate*896/(numSpeedSteps-1)){
|
||||
lastSpeedStep = newSpeedStep;
|
||||
actualSpeed++;
|
||||
}
|
||||
}else{ // decelerating
|
||||
if((newSpeedStep - lastSpeedStep) > decRate*896/(numSpeedSteps-1)){
|
||||
lastSpeedStep = newSpeedStep;
|
||||
actualSpeed--;
|
||||
}
|
||||
}
|
||||
if(actualDirection == DCC_DIR_FWD){ // DCC FWD
|
||||
OCR1B = 0;
|
||||
OCR1A = map(actualSpeed, 0, 255, 0, maxOCR);
|
||||
}else{ // DCC REV
|
||||
OCR1A = 0;
|
||||
OCR1B = map(actualSpeed, 0, 255, 0, maxOCR);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if((newFunctionState != lastFunctionState)||(actualSpeed == 0)){ // handle function change, map to outputs
|
||||
lastFunctionState = newFunctionState;
|
||||
newOutputState = 0;
|
||||
if(actualDirection){ // F0f
|
||||
newOutputState |= (bitRead(newFunctionState, 0) ? functionMapping[0] : 0);
|
||||
}else{ // F0r
|
||||
newOutputState |= (bitRead(newFunctionState, 0) ? functionMapping[1] : 0);
|
||||
}
|
||||
for(byte i=1;i<=12;i++){ //F1-F12
|
||||
newOutputState |= (bitRead(newFunctionState, i) ? functionMapping[i+1] : 0);
|
||||
}
|
||||
}
|
||||
|
||||
if(newOutputState != lastOutputState){ // actualise outputs
|
||||
lastOutputState = newOutputState;
|
||||
digitalWrite(LED_F0f_PIN, bitRead(newOutputState, 0));
|
||||
digitalWrite(LED_F0r_PIN, bitRead(newOutputState, 1));
|
||||
digitalWrite(LED_AUX1_PIN, bitRead(newOutputState, 2));
|
||||
digitalWrite(LED_AUX2_PIN, bitRead(newOutputState, 3));
|
||||
digitalWrite(LED_AUX3_PIN, bitRead(newOutputState, 4));
|
||||
}
|
||||
|
||||
|
||||
if( factoryDefaultCVIndex && dcc.isSetCVReady()){ // handle factory default
|
||||
factoryDefaultCVIndex--; // Decrement first as initially it is the size of the array
|
||||
dcc.setCV( factoryDefaultCVs[factoryDefaultCVIndex].CV, factoryDefaultCVs[factoryDefaultCVIndex].Value);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,505 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
(This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.)
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{description}
|
||||
Copyright (C) {year} {fullname}
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random
|
||||
Hacker.
|
||||
|
||||
{signature of Ty Coon}, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,757 @@
|
||||
//------------------------------------------------------------------------
|
||||
//
|
||||
// Model Railroading with Arduino - NmraDcc.h
|
||||
//
|
||||
// Copyright (c) 2008 - 2020 Alex Shepherd
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
//------------------------------------------------------------------------
|
||||
//
|
||||
// file: NmraDcc.h
|
||||
// author: Alex Shepherd
|
||||
// webpage: http://mrrwa.org/
|
||||
// history: 2008-03-20 Initial Version
|
||||
// 2011-06-26 Migrated into Arduino library from OpenDCC codebase
|
||||
// 2014 Added getAddr to NmraDcc Geoff Bunza
|
||||
// 2015-11-06 Martin Pischky (martin@pischky.de):
|
||||
// Experimental Version to support 14 speed steps
|
||||
// and new signature of notifyDccSpeed and notifyDccFunc
|
||||
// 2017-11-29 Ken West (kgw4449@gmail.com):
|
||||
// Added method and callback headers.
|
||||
//
|
||||
//------------------------------------------------------------------------
|
||||
//
|
||||
// purpose: Provide a simplified interface to decode NMRA DCC packets
|
||||
// and build DCC MutliFunction and Stationary Decoders
|
||||
//
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
// Uncomment the following Line to Enable Service Mode CV Programming
|
||||
#define NMRA_DCC_PROCESS_SERVICEMODE
|
||||
|
||||
// Uncomment the following line to Enable MultiFunction Decoder Operations
|
||||
#define NMRA_DCC_PROCESS_MULTIFUNCTION
|
||||
|
||||
// Uncomment the following line to Enable 14 Speed Step Support
|
||||
//#define NMRA_DCC_ENABLE_14_SPEED_STEP_MODE
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "Arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#ifndef NMRADCC_IS_IN
|
||||
#define NMRADCC_IS_IN
|
||||
|
||||
#define NMRADCC_VERSION 206 // Version 2.0.6
|
||||
|
||||
#define MAX_DCC_MESSAGE_LEN 6 // including XOR-Byte
|
||||
|
||||
//#define ALLOW_NESTED_IRQ // uncomment to enable nested IRQ's ( only for AVR! )
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint8_t Size ;
|
||||
uint8_t PreambleBits ;
|
||||
uint8_t Data[MAX_DCC_MESSAGE_LEN] ;
|
||||
} DCC_MSG ;
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// This section contains the NMRA Assigned DCC Manufacturer Id Codes that
|
||||
// are used in projects
|
||||
//
|
||||
// This value is to be used for CV8
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
#define MAN_ID_JMRI 0x12
|
||||
#define MAN_ID_DIY 0x0D
|
||||
#define MAN_ID_SILICON_RAILWAY 0x21
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// This section contains the Product/Version Id Codes for projects
|
||||
//
|
||||
// This value is to be used for CV7
|
||||
//
|
||||
// NOTE: Each Product/Version Id Code needs to be UNIQUE for that particular
|
||||
// the DCC Manufacturer Id Code
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
// Product/Version Id Codes allocated under: MAN_ID_JMRI
|
||||
|
||||
// Product/Version Id Codes allocated under: MAN_ID_DIY
|
||||
|
||||
// Standard CV Addresses
|
||||
#define CV_ACCESSORY_DECODER_ADDRESS_LSB 1
|
||||
#define CV_ACCESSORY_DECODER_ADDRESS_MSB 9
|
||||
|
||||
#define CV_MULTIFUNCTION_PRIMARY_ADDRESS 1
|
||||
#define CV_MULTIFUNCTION_EXTENDED_ADDRESS_MSB 17
|
||||
#define CV_MULTIFUNCTION_EXTENDED_ADDRESS_LSB 18
|
||||
|
||||
#define CV_VERSION_ID 7
|
||||
#define CV_MANUFACTURER_ID 8
|
||||
#define CV_29_CONFIG 29
|
||||
|
||||
#if defined(ESP32)
|
||||
#include <esp_spi_flash.h>
|
||||
#define MAXCV SPI_FLASH_SEC_SIZE
|
||||
#elif defined(ESP8266)
|
||||
#include <spi_flash.h>
|
||||
#define MAXCV SPI_FLASH_SEC_SIZE
|
||||
#elif defined( __STM32F1__)
|
||||
#define MAXCV (EEPROM_PAGE_SIZE/4 - 1) // number of storage places (CV address could be larger
|
||||
// because STM32 uses virtual adresses)
|
||||
#undef ALLOW_NESTED_IRQ // This is done with NVIC on STM32
|
||||
#define PRIO_DCC_IRQ 9
|
||||
#define PRIO_SYSTIC 8 // MUST be higher priority than DCC Irq
|
||||
#else
|
||||
#define MAXCV E2END // the upper limit of the CV value currently defined to max memory.
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
CV29_LOCO_DIR = 0b00000001, /** bit 0: Locomotive Direction: "0" = normal, "1" = reversed */
|
||||
CV29_F0_LOCATION = 0b00000010, /** bit 1: F0 location: "0" = bit 4 in Speed and Direction instructions, "1" = bit 4 in function group one instruction */
|
||||
CV29_APS = 0b00000100, /** bit 2: Alternate Power Source (APS) "0" = NMRA Digital only, "1" = Alternate power source set by CV12 */
|
||||
CV29_RAILCOM_ENABLE = 0b00001000, /** bit 3: BiDi ( RailCom ) is active */
|
||||
CV29_SPEED_TABLE_ENABLE = 0b00010000, /** bit 4: STE, Speed Table Enable, "0" = values in CVs 2, 4 and 6, "1" = Custom table selected by CV 25 */
|
||||
CV29_EXT_ADDRESSING = 0b00100000, /** bit 5: "0" = one byte addressing, "1" = two byte addressing */
|
||||
CV29_OUTPUT_ADDRESS_MODE = 0b01000000, /** bit 6: "0" = Decoder Address Mode "1" = Output Address Mode */
|
||||
CV29_ACCESSORY_DECODER = 0b10000000, /** bit 7: "0" = Multi-Function Decoder Mode "1" = Accessory Decoder Mode */
|
||||
} CV_29_BITS;
|
||||
|
||||
typedef enum {
|
||||
#ifdef NMRA_DCC_ENABLE_14_SPEED_STEP_MODE
|
||||
SPEED_STEP_14 = 15, /**< ESTOP=0, 1 to 15 */
|
||||
#endif
|
||||
SPEED_STEP_28 = 29, /**< ESTOP=0, 1 to 29 */
|
||||
SPEED_STEP_128 = 127 /**< ESTOP=0, 1 to 127 */
|
||||
} DCC_SPEED_STEPS;
|
||||
|
||||
typedef enum {
|
||||
DCC_DIR_REV = 0, /** The locomotive to go in the reverse direction */
|
||||
DCC_DIR_FWD = 1, /** The locomotive should move in the forward direction */
|
||||
} DCC_DIRECTION;
|
||||
|
||||
typedef enum {
|
||||
DCC_ADDR_SHORT, /** Short address is used. The range is 0 to 127. */
|
||||
DCC_ADDR_LONG, /** Long Address is used. The range is 1 to 10239 */
|
||||
} DCC_ADDR_TYPE;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
FN_0_4 = 1,
|
||||
FN_5_8,
|
||||
FN_9_12,
|
||||
FN_13_20,
|
||||
FN_21_28,
|
||||
#ifdef NMRA_DCC_ENABLE_14_SPEED_STEP_MODE
|
||||
FN_0 /** function light is controlled by base line package (14 speed steps) */
|
||||
#endif
|
||||
} FN_GROUP;
|
||||
|
||||
#define FN_BIT_00 0x10
|
||||
#define FN_BIT_01 0x01
|
||||
#define FN_BIT_02 0x02
|
||||
#define FN_BIT_03 0x04
|
||||
#define FN_BIT_04 0x08
|
||||
|
||||
#define FN_BIT_05 0x01
|
||||
#define FN_BIT_06 0x02
|
||||
#define FN_BIT_07 0x04
|
||||
#define FN_BIT_08 0x08
|
||||
|
||||
#define FN_BIT_09 0x01
|
||||
#define FN_BIT_10 0x02
|
||||
#define FN_BIT_11 0x04
|
||||
#define FN_BIT_12 0x08
|
||||
|
||||
#define FN_BIT_13 0x01
|
||||
#define FN_BIT_14 0x02
|
||||
#define FN_BIT_15 0x04
|
||||
#define FN_BIT_16 0x08
|
||||
#define FN_BIT_17 0x10
|
||||
#define FN_BIT_18 0x20
|
||||
#define FN_BIT_19 0x40
|
||||
#define FN_BIT_20 0x80
|
||||
|
||||
#define FN_BIT_21 0x01
|
||||
#define FN_BIT_22 0x02
|
||||
#define FN_BIT_23 0x04
|
||||
#define FN_BIT_24 0x08
|
||||
#define FN_BIT_25 0x10
|
||||
#define FN_BIT_26 0x20
|
||||
#define FN_BIT_27 0x40
|
||||
#define FN_BIT_28 0x80
|
||||
|
||||
//#define DCC_DBGVAR
|
||||
#ifdef DCC_DBGVAR
|
||||
typedef struct countOf_t {
|
||||
unsigned long Tel;
|
||||
unsigned long Err;
|
||||
}countOf_t ;
|
||||
|
||||
extern struct countOf_t countOf;
|
||||
#endif
|
||||
|
||||
class NmraDcc
|
||||
{
|
||||
private:
|
||||
DCC_MSG Msg ;
|
||||
|
||||
public:
|
||||
NmraDcc();
|
||||
|
||||
// Flag values to be logically ORed together and passed into the init() method
|
||||
#define FLAGS_MY_ADDRESS_ONLY 0x01 // Only process DCC Packets with My Address
|
||||
#define FLAGS_AUTO_FACTORY_DEFAULT 0x02 // Call notifyCVResetFactoryDefault() if CV 7 & 8 == 255
|
||||
#define FLAGS_SETCV_CALLED 0x10 // only used internally !!
|
||||
#define FLAGS_OUTPUT_ADDRESS_MODE 0x40 // CV 29/541 bit 6
|
||||
#define FLAGS_DCC_ACCESSORY_DECODER 0x80 // CV 29/541 bit 7
|
||||
|
||||
// Flag Bits that are cloned from CV29 relating the DCC Accessory Decoder
|
||||
#define FLAGS_CV29_BITS (FLAGS_OUTPUT_ADDRESS_MODE | FLAGS_DCC_ACCESSORY_DECODER)
|
||||
|
||||
|
||||
/*+
|
||||
* pin() is called from setup() and sets up the pin used to receive DCC packets.
|
||||
*
|
||||
* Inputs:
|
||||
* ExtIntNum - Interrupt number of the pin. Use digitalPinToInterrupt(ExtIntPinNum).
|
||||
* ExtIntPinNum - Input pin number.
|
||||
* EnablePullup - Set true to enable the pins pullup resistor.
|
||||
*
|
||||
* Returns:
|
||||
* None.
|
||||
*/
|
||||
void pin( uint8_t ExtIntNum, uint8_t ExtIntPinNum, uint8_t EnablePullup);
|
||||
|
||||
/*+
|
||||
* pin() is called from setup() and sets up the pin used to receive DCC packets.
|
||||
* This relies on the internal function: digitalPinToInterrupt() to map the input pin number to the right interrupt
|
||||
*
|
||||
* Inputs:
|
||||
* ExtIntPinNum - Input pin number.
|
||||
* EnablePullup - Set true to enable the pins pullup resistor.
|
||||
*
|
||||
* Returns:
|
||||
* None.
|
||||
*/
|
||||
#ifdef digitalPinToInterrupt
|
||||
void pin( uint8_t ExtIntPinNum, uint8_t EnablePullup);
|
||||
#endif
|
||||
|
||||
/*+
|
||||
* init() is called from setup() after the pin() command is called.
|
||||
* It initializes the NmDcc object and makes it ready to process packets.
|
||||
*
|
||||
* Inputs:
|
||||
* ManufacturerId - Manufacturer ID returned in CV 8.
|
||||
* Commonly MAN_ID_DIY.
|
||||
* VersionId - Version ID returned in CV 7.
|
||||
* Flags - ORed flags beginning with FLAGS_...
|
||||
* FLAGS_MY_ADDRESS_ONLY - Only process packets with My Address.
|
||||
* FLAGS_DCC_ACCESSORY_DECODER - Decoder is an accessory decoder.
|
||||
* FLAGS_OUTPUT_ADDRESS_MODE - This flag applies to accessory decoders only.
|
||||
* Accessory decoders normally have 4 paired outputs
|
||||
* and a single address refers to all 4 outputs.
|
||||
* Setting FLAGS_OUTPUT_ADDRESS_MODE causes each
|
||||
* address to refer to a single output.
|
||||
* OpsModeAddressBaseCV - Ops Mode base address. Set it to 0?
|
||||
*
|
||||
* Returns:
|
||||
* None.
|
||||
*/
|
||||
void init( uint8_t ManufacturerId, uint8_t VersionId, uint8_t Flags, uint8_t OpsModeAddressBaseCV );
|
||||
|
||||
/*+
|
||||
* initAccessoryDecoder() is called from setup() for accessory decoders.
|
||||
* It calls init() with FLAGS_DCC_ACCESSORY_DECODER ORed into Flags.
|
||||
*
|
||||
* Inputs:
|
||||
* ManufacturerId - Manufacturer ID returned in CV 8.
|
||||
* Commonly MAN_ID_DIY.
|
||||
* VersionId - Version ID returned in CV 7.
|
||||
* Flags - ORed flags beginning with FLAGS_...
|
||||
* FLAGS_DCC_ACCESSORY_DECODER will be set for init() call.
|
||||
* OpsModeAddressBaseCV - Ops Mode base address. Set it to 0?
|
||||
*
|
||||
* Returns:
|
||||
* None.
|
||||
*/
|
||||
void initAccessoryDecoder( uint8_t ManufacturerId, uint8_t VersionId, uint8_t Flags, uint8_t OpsModeAddressBaseCV );
|
||||
|
||||
/*+
|
||||
* process() is called from loop() to process DCC packets.
|
||||
* It must be called very frequently to keep up with the packets.
|
||||
*
|
||||
* Inputs:
|
||||
* None.
|
||||
*
|
||||
* Returns:
|
||||
* 1 - Packet succesfully parsed on this call to process().
|
||||
* 0 - Packet not ready or received packet had an error.
|
||||
*/
|
||||
uint8_t process();
|
||||
|
||||
/*+
|
||||
* getCV() returns the selected CV value.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number. It must point to a valid CV.
|
||||
*
|
||||
* Returns:
|
||||
* Value - CV value. Invalid CV numbers will return an undefined result
|
||||
* since nothing will have been set in that EEPROM position.
|
||||
* Calls notifyCVRead() if it is defined.
|
||||
*/
|
||||
uint8_t getCV( uint16_t CV );
|
||||
|
||||
/*+
|
||||
* setCV() sets the value of a CV.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number. It must point to a valid CV.
|
||||
* Value - CV value.
|
||||
*
|
||||
* Returns:
|
||||
* Value - CV value set by this call.
|
||||
* since nothing will have been set in that EEPROM position.
|
||||
* Calls notifyCVWrite() if it is defined.
|
||||
* Calls notifyCVChange() if the value is changed by this call.
|
||||
*/
|
||||
uint8_t setCV( uint16_t CV, uint8_t Value);
|
||||
|
||||
/*+
|
||||
* setAccDecDCCAddrNextReceived() enables/disables the setting of the board address from the next received turnout command
|
||||
*
|
||||
* Inputs:
|
||||
* enable- boolean to enable or disable the mode
|
||||
*
|
||||
* Returns:
|
||||
*/
|
||||
void setAccDecDCCAddrNextReceived(uint8_t enable);
|
||||
|
||||
/*+
|
||||
* isSetCVReady() returns 1 if EEPROM is ready to write.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number. It must point to a valid CV.
|
||||
* Value - CV value.
|
||||
*
|
||||
* Returns:
|
||||
* ready - 1 if ready to write, 0 otherwise. AVR processor will block
|
||||
* for several ms. for each write cycle so you should check this to avoid blocks.
|
||||
* Note: It returns the value returned by notifyIsSetCVReady() if it is defined.
|
||||
* Calls notifyIsSetCVReady() if it is defined.
|
||||
*/
|
||||
uint8_t isSetCVReady( void );
|
||||
|
||||
/*+
|
||||
* getAddr() return the currently active decoder address.
|
||||
* based on decoder type and current address size.
|
||||
*
|
||||
* Inputs:
|
||||
* None.
|
||||
*
|
||||
* Returns:
|
||||
* Adr - The current decoder address based on decoder type(Multifunction, Accessory)
|
||||
* and short or long address selection for Multifunction decoders.
|
||||
*/
|
||||
uint16_t getAddr(void);
|
||||
|
||||
/*+
|
||||
* getDccPolarity() return the DCC polarity.
|
||||
*
|
||||
* Inputs:
|
||||
* None.
|
||||
*
|
||||
* Returns:
|
||||
* FALLING 2
|
||||
* RISING 3
|
||||
*/
|
||||
uint8_t getDccPolarity(void);
|
||||
|
||||
/*+
|
||||
* getX() return debugging data if DCC_DEBUG is defined.
|
||||
* You would really need to be modifying the library to need them.
|
||||
*
|
||||
* Inputs:
|
||||
* None.
|
||||
*
|
||||
* Returns:
|
||||
* getIntCount - Init to 0 and apparently never incremented?
|
||||
* getTickCount - Init to 0 and incremented each time interrupt handler
|
||||
* completes without an error.
|
||||
* getBitCount - Bit count of valid packet, 0 otherwise. Only valid until
|
||||
* start of the next packet.
|
||||
* getState - Current WAIT_... state as defined by DccRxWaitState in NmraDcc.cpp.
|
||||
* getNestedIrqCount - Init to 0 and incremented each time the interrupt handler
|
||||
* is called before the previous interrupt was complete.
|
||||
* This is an error indication and may indicate the system
|
||||
* is not handling packets fast enough or some other error is occurring.
|
||||
*/
|
||||
// #define DCC_DEBUG
|
||||
#ifdef DCC_DEBUG
|
||||
uint8_t getIntCount(void);
|
||||
uint8_t getTickCount(void);
|
||||
uint8_t getBitCount(void);
|
||||
uint8_t getState(void);
|
||||
uint8_t getNestedIrqCount(void);
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/************************************************************************************
|
||||
Call-back functions
|
||||
************************************************************************************/
|
||||
|
||||
#if defined (__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*+
|
||||
* notifyDccReset(uint8_t hardReset) Callback for a DCC reset command.
|
||||
*
|
||||
* Inputs:
|
||||
* hardReset - 0 normal reset command.
|
||||
* 1 hard reset command.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccReset(uint8_t hardReset ) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccIdle() Callback for a DCC idle command.
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccIdle(void) __attribute__ ((weak));
|
||||
|
||||
|
||||
/*+
|
||||
* notifyDccSpeed() Callback for a multifunction decoder speed command.
|
||||
* The received speed and direction are unpacked to separate values.
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Active decoder address.
|
||||
* AddrType - DCC_ADDR_SHORT or DCC_ADDR_LONG.
|
||||
* Speed - Decoder speed. 0 = Emergency stop
|
||||
* 1 = Regular stop
|
||||
* 2 to SpeedSteps = Speed step 1 to max.
|
||||
* Dir - DCC_DIR_REV or DCC_DIR_FWD
|
||||
* SpeedSteps - Highest speed, SPEED_STEP_14 = 15
|
||||
* SPEED_STEP_28 = 29
|
||||
* SPEED_STEP_128 = 127
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccSpeed( uint16_t Addr, DCC_ADDR_TYPE AddrType, uint8_t Speed, DCC_DIRECTION Dir, DCC_SPEED_STEPS SpeedSteps ) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccSpeedRaw() Callback for a multifunction decoder speed command.
|
||||
* The value in Raw is the unpacked speed command.
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Active decoder address.
|
||||
* AddrType - DCC_ADDR_SHORT or DCC_ADDR_LONG.
|
||||
* Raw - Raw decoder speed command.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccSpeedRaw( uint16_t Addr, DCC_ADDR_TYPE AddrType, uint8_t Raw) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccFunc() Callback for a multifunction decoder function command.
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Active decoder address.
|
||||
* AddrType - DCC_ADDR_SHORT or DCC_ADDR_LONG.
|
||||
* FuncGrp - Function group. FN_0 - 14 speed step headlight function.
|
||||
* Mask FN_BIT_00.
|
||||
* FN_0_4 - Functions 0 to 4. Mask FN_BIT_00 - FN_BIT_04
|
||||
* FN_5_8 - Functions 5 to 8. Mask FN_BIT_05 - FN_BIT_08
|
||||
* FN_9_12 - Functions 9 to 12. Mask FN_BIT_09 - FN_BIT_12
|
||||
* FN_13_20 - Functions 13 to 20. Mask FN_BIT_13 - FN_BIT_20
|
||||
* FN_21_28 - Functions 21 to 28. Mask FN_BIT_21 - FN_BIT_28
|
||||
* FuncState - Function state. Bitmask where active functions have a 1 at that bit.
|
||||
* You must & FuncState with the appropriate
|
||||
* FN_BIT_nn value to isolate a given bit.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccFunc( uint16_t Addr, DCC_ADDR_TYPE AddrType, FN_GROUP FuncGrp, uint8_t FuncState) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccAccTurnoutBoard() Board oriented callback for a turnout accessory decoder.
|
||||
* Most useful when CV29_OUTPUT_ADDRESS_MODE is not set.
|
||||
* Decoders of this type have 4 paired turnout outputs per board.
|
||||
* OutputPower is 1 if the power is on, and 0 otherwise.
|
||||
*
|
||||
* Inputs:
|
||||
* BoardAddr - Per board address. Equivalent to CV 1 LSB & CV 9 MSB.
|
||||
* OutputPair - Output pair number. It has a range of 0 to 3.
|
||||
* Equivalent to upper 2 bits of the 3 DDD bits in the accessory packet.
|
||||
* Direction - Turnout direction. It has a value of 0 or 1.
|
||||
* It is equivalent to bit 0 of the 3 DDD bits in the accessory packet.
|
||||
* OutputPower - Output On/Off. Equivalent to packet C bit. It has these values:
|
||||
* 0 - Output pair is off.
|
||||
* 1 - Output pair is on.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
|
||||
extern void notifyDccAccTurnoutBoard( uint16_t BoardAddr, uint8_t OutputPair, uint8_t Direction, uint8_t OutputPower ) __attribute__ ((weak));
|
||||
/*+
|
||||
* notifyDccAccTurnoutOutput() Output oriented callback for a turnout accessory decoder.
|
||||
* Most useful when CV29_OUTPUT_ADDRESS_MODE is not set.
|
||||
* Decoders of this type have 4 paired turnout outputs per board.
|
||||
* OutputPower is 1 if the power is on, and 0 otherwise.
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Per output address. There will be 4 Addr addresses
|
||||
* per board for a standard accessory decoder with 4 output pairs.
|
||||
* Direction - Turnout direction. It has a value of 0 or 1.
|
||||
* Equivalent to bit 0 of the 3 DDD bits in the accessory packet.
|
||||
* OutputPower - Output On/Off. Equivalent to packet C bit. It has these values:
|
||||
* 0 - Output is off.
|
||||
* 1 - Output is on.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccAccTurnoutOutput( uint16_t Addr, uint8_t Direction, uint8_t OutputPower ) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccAccBoardAddrSet() Board oriented callback for a turnout accessory decoder.
|
||||
* This notification is when a new Board Address is set to the
|
||||
* address of the next DCC Turnout Packet that is received
|
||||
*
|
||||
* This is enabled via the setAccDecDCCAddrNextReceived() method above
|
||||
*
|
||||
* Inputs:
|
||||
* BoardAddr - Per board address. Equivalent to CV 1 LSB & CV 9 MSB.
|
||||
* per board for a standard accessory decoder with 4 output pairs.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccAccBoardAddrSet( uint16_t BoardAddr) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccAccOutputAddrSet() Output oriented callback for a turnout accessory decoder.
|
||||
* This notification is when a new Output Address is set to the
|
||||
* address of the next DCC Turnout Packet that is received
|
||||
*
|
||||
* This is enabled via the setAccDecDCCAddrNextReceived() method above
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Per output address. There will be 4 Addr addresses
|
||||
* per board for a standard accessory decoder with 4 output pairs.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccAccOutputAddrSet( uint16_t Addr) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccSigOutputState() Callback for a signal aspect accessory decoder.
|
||||
* Defined in S-9.2.1 as the Extended Accessory Decoder Control Packet.
|
||||
*
|
||||
* Inputs:
|
||||
* Addr - Decoder address.
|
||||
* State - 6 bit command equivalent to S-9.2.1 00XXXXXX.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccSigOutputState( uint16_t Addr, uint8_t State) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyDccMsg() Raw DCC packet callback.
|
||||
* Called with raw DCC packet bytes.
|
||||
*
|
||||
* Inputs:
|
||||
* Msg - Pointer to DCC_MSG structure. The values are:
|
||||
* Msg->Size - Number of Data bytes in the packet.
|
||||
* Msg->PreambleBits - Number of preamble bits in the packet.
|
||||
* Msg->Data[] - Array of data bytes in the packet.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyDccMsg( DCC_MSG * Msg ) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyCVValid() Callback to determine if a given CV is valid.
|
||||
* This is called when the library needs to determine
|
||||
* if a CV is valid. Note: If defined, this callback
|
||||
* MUST determine if a CV is valid and return the
|
||||
* appropriate value. If this callback is not defined,
|
||||
* the library will determine validity.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number.
|
||||
* Writable - 1 for CV writes. 0 for CV reads.
|
||||
*
|
||||
* Returns:
|
||||
* 1 - CV is valid.
|
||||
* 0 - CV is not valid.
|
||||
*/
|
||||
extern uint8_t notifyCVValid( uint16_t CV, uint8_t Writable ) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyCVRead() Callback to read a CV.
|
||||
* This is called when the library needs to read
|
||||
* a CV. Note: If defined, this callback
|
||||
* MUST return the value of the CV.
|
||||
* If this callback is not defined,
|
||||
* the library will read the CV from EEPROM.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number.
|
||||
*
|
||||
* Returns:
|
||||
* Value - Value of the CV.
|
||||
*/
|
||||
extern uint8_t notifyCVRead( uint16_t CV) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyCVWrite() Callback to write a value to a CV.
|
||||
* This is called when the library needs to write
|
||||
* a CV. Note: If defined, this callback
|
||||
* MUST write the Value to the CV and return the value of the CV.
|
||||
* If this callback is not defined,
|
||||
* the library will read the CV from EEPROM.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number.
|
||||
* Value - Value of the CV.
|
||||
*
|
||||
* Returns:
|
||||
* Value - Value of the CV.
|
||||
*/
|
||||
extern uint8_t notifyCVWrite( uint16_t CV, uint8_t Value) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyIsSetCVReady() Callback to to determine if CVs can be written.
|
||||
* This is called when the library needs to determine
|
||||
* is ready to write without blocking or failing.
|
||||
* Note: If defined, this callback
|
||||
* MUST determine if a CV write would block or fail
|
||||
* return the appropriate value.
|
||||
* If this callback is not defined,
|
||||
* the library determines if a write to the EEPROM
|
||||
* would block.
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
*
|
||||
* Returns:
|
||||
* 1 - CV is ready to be written.
|
||||
* 0 - CV is not ready to be written.
|
||||
*/
|
||||
extern uint8_t notifyIsSetCVReady(void) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyCVChange() Called when a CV value is changed.
|
||||
* This is called whenever a CV's value is changed.
|
||||
* notifyDccCVChange() Called only when a CV value is changed by a Dcc packet or a internal lib function.
|
||||
* it is NOT called if the CV is changed by means of the setCV() method.
|
||||
* Note: It is not called if notifyCVWrite() is defined
|
||||
* or if the value in the EEPROM is the same as the value
|
||||
* in the write command.
|
||||
*
|
||||
* Inputs:
|
||||
* CV - CV number.
|
||||
* Value - Value of the CV.
|
||||
*
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyCVChange( uint16_t CV, uint8_t Value) __attribute__ ((weak));
|
||||
extern void notifyDccCVChange( uint16_t CV, uint8_t Value) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyCVResetFactoryDefault() Called when CVs must be reset.
|
||||
* This is called when CVs must be reset
|
||||
* to their factory defaults. This callback
|
||||
* should write the factory default value of
|
||||
* relevent CVs using the setCV() method.
|
||||
* setCV() must not block whens this is called.
|
||||
* Test with isSetCVReady() prior to calling setCV()
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
* *
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyCVResetFactoryDefault(void) __attribute__ ((weak));
|
||||
|
||||
/*+
|
||||
* notifyCVAck() Called when a CV write must be acknowledged.
|
||||
* This callback must increase the current drawn by this
|
||||
* decoder by at least 60mA for 6ms +/- 1ms.
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
* *
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyCVAck(void) __attribute__ ((weak));
|
||||
/*+
|
||||
* notifyAdvancedCVAck() Called when a CV write must be acknowledged via Advanced Acknowledgement.
|
||||
* This callback must send the Advanced Acknowledgement via RailComm.
|
||||
*
|
||||
* Inputs:
|
||||
* None
|
||||
* *
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyAdvancedCVAck(void) __attribute__ ((weak));
|
||||
/*+
|
||||
* notifyServiceMode(bool) Called when state of 'inServiceMode' changes
|
||||
*
|
||||
* Inputs:
|
||||
* bool state of inServiceMode
|
||||
* *
|
||||
* Returns:
|
||||
* None
|
||||
*/
|
||||
extern void notifyServiceMode(bool) __attribute__ ((weak));
|
||||
|
||||
// Deprecated, only for backward compatibility with version 1.4.2.
|
||||
// Don't use in new designs. These functions may be dropped in future versions
|
||||
extern void notifyDccAccState( uint16_t Addr, uint16_t BoardAddr, uint8_t OutputAddr, uint8_t State ) __attribute__ ((weak));
|
||||
extern void notifyDccSigState( uint16_t Addr, uint8_t OutputIndex, uint8_t State) __attribute__ ((weak));
|
||||
|
||||
#if defined (__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
# NmraDcc
|
||||
NMRA Digital Command Control (DCC) Library
|
||||
|
||||
This library allows you to interface to a NMRA DCC track signal and receive DCC commands.
|
||||
|
||||
The library currently supports the AVR ATTiny84/85 & ATMega88/168/328/32u4 and Teensy 3.x using the INT0/1 Hardware Interrupt and micros() ONLY and no longer uses Timer0 Compare Match B, which makes it much more portable to other platforms.
|
||||
|
||||
**Warning** as of version 1.4.4 support has been removed for the following two call-back functions, which will cause your sketch to silently stop working:
|
||||
|
||||
extern void notifyDccAccState( uint16_t Addr, uint16_t BoardAddr, uint8_t OutputAddr, uint8_t State )
|
||||
extern void notifyDccSigState( uint16_t Addr, uint8_t OutputIndex, uint8_t State)
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
#######################################
|
||||
# Syntax Coloring Map Servo
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
DCC_MSG KEYWORD1
|
||||
NmraDcc KEYWORD1
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
NmraDcc KEYWORD2
|
||||
pin KEYWORD2
|
||||
init KEYWORD2
|
||||
process KEYWORD2
|
||||
getCV KEYWORD2
|
||||
setCV KEYWORD2
|
||||
isSetCVReady KEYWORD2
|
||||
notifyDccReset KEYWORD2
|
||||
notifyDccIdle KEYWORD2
|
||||
notifyDccSpeed KEYWORD2
|
||||
notifyDccSpeedRaw KEYWORD2
|
||||
notifyDccFunc KEYWORD2
|
||||
notifyDccAccTurnoutBoard KEYWORD2
|
||||
notifyDccAccTurnoutOutput KEYWORD2
|
||||
notifyDccAccBoardAddrSet KEYWORD2
|
||||
notifyDccAccOutputAddrSet KEYWORD2
|
||||
notifyDccSigOutputState KEYWORD2
|
||||
notifyDccMsg KEYWORD2
|
||||
notifyCVValid KEYWORD2
|
||||
notifyCVRead KEYWORD2
|
||||
notifyCVWrite KEYWORD2
|
||||
notifyIsSetCVReady KEYWORD2
|
||||
notifyCVChange KEYWORD2
|
||||
notifyCVAck KEYWORD2
|
||||
notifyCVResetFactoryDefault KEYWORD2
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
|
||||
MAN_ID_JMRI LITERAL1
|
||||
MAN_ID_DIY LITERAL1
|
||||
MAN_ID_SILICON_RAILWAY LITERAL1
|
||||
FLAGS_MY_ADDRESS_ONLY LITERAL1
|
||||
FLAGS_OUTPUT_ADDRESS_MODE LITERAL1
|
||||
FLAGS_DCC_ACCESSORY_DECODER LITERAL1
|
||||
|
||||
CV_ACCESSORY_DECODER_ADDRESS_LSB LITERAL1
|
||||
CV_ACCESSORY_DECODER_ADDRESS_MSB LITERAL1
|
||||
|
||||
CV_MULTIFUNCTION_PRIMARY_ADDRESS LITERAL1
|
||||
CV_MULTIFUNCTION_EXTENDED_ADDRESS_MSB LITERAL1
|
||||
CV_MULTIFUNCTION_EXTENDED_ADDRESS_LSB LITERAL1
|
||||
|
||||
CV_VERSION_ID LITERAL1
|
||||
CV_MANUFACTURER_ID LITERAL1
|
||||
CV_29_CONFIG LITERAL1
|
||||
CV_OPS_MODE_ADDRESS_LSB LITERAL1
|
||||
|
||||
#######################################
|
||||
@@ -0,0 +1,9 @@
|
||||
name=NmraDcc
|
||||
version=2.0.6
|
||||
author=Alex Shepherd, Wolfgang Kuffer, Geoff Bunza, Martin Pischky, Franz-Peter Müller, Sven (littleyoda), Hans Tanner
|
||||
maintainer=Alex Shepherd <kiwi64ajs@gmail.com>
|
||||
sentence=Enables NMRA DCC Communication
|
||||
paragraph=This library allows you to interface to a NMRA DCC track signal and receive DCC commands. The library has been tested on AVR ATTiny84/85 & ATMega88/168/328/32u4, ESP8266 and Teensy 3.x using the INT0/1 Hardware Interrupt and micros() ONLY and no longer uses Timer0 Compare Match B, which makes it much more portable to other platforms.
|
||||
category=Communication
|
||||
url=https://github.com/mrrwa/NmraDcc
|
||||
architectures=*
|
||||
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
|
||||
<!-- Copyright (C) JMRI 2001, 2005, 2007, 2-009, 2010 All rights reserved -->
|
||||
<!-- -->
|
||||
<!-- JMRI is free software; you can redistribute it and/or modify it under -->
|
||||
<!-- the terms of version 2 of the GNU General Public License as published -->
|
||||
<!-- by the Free Software Foundation. See the "COPYING" file for a copy -->
|
||||
<!-- of this license. -->
|
||||
<!-- -->
|
||||
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT -->
|
||||
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -->
|
||||
<!-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -->
|
||||
<!-- for more details. -->
|
||||
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd" showEmptyPanes="no">
|
||||
<version author="Till György" version="1" lastUpdated="20210212"/> <!-- initial release -->
|
||||
<decoder>
|
||||
<family name="GTI" mfg="Public-domain and DIY" lowVersionID="1" highVersionID="10">
|
||||
<model model="GTI green" numOuts="10" numFns="28" productID="258">
|
||||
<output name="1" label="F0f" />
|
||||
<output name="2" label="F0r" />
|
||||
<output name="3" label="AUX1" />
|
||||
<output name="4" label="AUX2" />
|
||||
<output name="5" label="AUX3" />
|
||||
<output name="6" label="AUX4" />
|
||||
<output name="7" label="AUX5" />
|
||||
<output name="8" label="AUX6" />
|
||||
<output name="9" label="AUX7" />
|
||||
<output name="10" label="AUX8" />
|
||||
</model>
|
||||
</family>
|
||||
<programming direct="yes" paged="no" register="yes" ops="no"/>
|
||||
<variables>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/accelDecel_255.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/vStartHighMid.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
|
||||
<variable item="Total PWM Period" CV="9">
|
||||
<decVal/>
|
||||
<label>Total PWM Period (Motor Drive Frequency)</label>
|
||||
<label xml:lang="de">PWM Periode (Motorfrequenz)</label>
|
||||
</variable>
|
||||
<variable item="Packet Time-out Value" CV="11">
|
||||
<decVal/>
|
||||
<label>Packet Time-out Value</label>
|
||||
<label xml:lang="de">Maximalzeit ohne Datenempfang</label>
|
||||
</variable>
|
||||
<variable item="User Id #3" CV="16" mask="XXXXXVVV" default="0">
|
||||
<decVal/>
|
||||
<label>Decoder Lock ID number</label>
|
||||
<label xml:lang="it">ID Codice Blocco Decoder</label>
|
||||
<label xml:lang="fr">No de verrouillage décodeur (Lock ID)</label>
|
||||
<label xml:lang="de">Nummer der Decoder Lock ID</label>
|
||||
<label xml:lang="cs">Zámek dekodéru ID číslo</label>
|
||||
<label xml:lang="nl">Nummer van het Decoder Lock ID</label>
|
||||
</variable>
|
||||
<variable CV="27" mask="XXVXXXXX" item="Advanced Group 1 Option 4" default="1">
|
||||
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
||||
<label>Brake on positive DC</label>
|
||||
<label xml:lang="de">Bremsen bei positiver Gleichspannung</label>
|
||||
</variable>
|
||||
<variable CV="27" mask="XXXVXXXX" item="Advanced Group 1 Option 5" default="1">
|
||||
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
||||
<label>Brake on negative DC</label>
|
||||
<label xml:lang="de">Bremsen bei negativer Gleichspannung</label>
|
||||
</variable>
|
||||
<variable CV="27" mask="XXXXXVXX" item="Advanced Group 1 Option 6" default="1">
|
||||
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
||||
<label>Brake on signal controlled influence</label>
|
||||
<label xml:lang="de">Bremsen beim Signaleinfluss</label>
|
||||
</variable>
|
||||
<variable CV="27" mask="XXXXXXVX" item="Advanced Group 1 Option 7" default="1">
|
||||
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
||||
<label>Brake on asymmetric DCC (left > right)</label>
|
||||
<label xml:lang="de">Bremsen beim asymmetrischen DCC (Links > Rechts)</label>
|
||||
</variable>
|
||||
<variable CV="27" mask="XXXXXXXV" item="Advanced Group 1 Option 8" default="1">
|
||||
<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
|
||||
<label>Brake on asymmetric DCC (right > left)</label>
|
||||
<label xml:lang="de">Bremsen beim asymmetrischen DCC (Rechts > Links)</label>
|
||||
</variable>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/cv29table3-28.xml"/>
|
||||
<!-- this next large group forms a table, so doesn't need translation -->
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/functionmap.xml"/>
|
||||
<!-- end of table that doesn't need translation -->
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/kickStart.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/fwdTrim.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/revTrim.xml"/>
|
||||
<xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
|
||||
</variables>
|
||||
</decoder>
|
||||
</decoder-config>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,33 @@
|
||||
update=22/05/2015 07:44:53
|
||||
version=1
|
||||
last_client=kicad
|
||||
[general]
|
||||
version=1
|
||||
RootSch=
|
||||
BoardNm=
|
||||
[pcbnew]
|
||||
version=1
|
||||
LastNetListRead=
|
||||
UseCmpFile=1
|
||||
PadDrill=0.600000000000
|
||||
PadDrillOvalY=0.600000000000
|
||||
PadSizeH=1.500000000000
|
||||
PadSizeV=1.500000000000
|
||||
PcbTextSizeV=1.500000000000
|
||||
PcbTextSizeH=1.500000000000
|
||||
PcbTextThickness=0.300000000000
|
||||
ModuleTextSizeV=1.000000000000
|
||||
ModuleTextSizeH=1.000000000000
|
||||
ModuleTextSizeThickness=0.150000000000
|
||||
SolderMaskClearance=0.000000000000
|
||||
SolderMaskMinWidth=0.000000000000
|
||||
DrawSegmentWidth=0.200000000000
|
||||
BoardOutlineThickness=0.100000000000
|
||||
ModuleOutlineThickness=0.150000000000
|
||||
[cvpcb]
|
||||
version=1
|
||||
NetIExt=net
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=
|
||||
[eeschema/libraries]
|
||||
File diff suppressed because it is too large
Load Diff
+24
@@ -0,0 +1,24 @@
|
||||
(module Crystal_SMD_2520-2Pin_2.5x2.0mm (layer F.Cu) (tedit 5FB9762F)
|
||||
(fp_text reference REF** (at 0 -2.975) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value Crystal_SMD_2520-2Pin_2.5x2.0mm (at 0 2.6) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start 1.6 -1.45) (end -1.575 -1.45) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 1.6 1.45) (end 1.6 -1.45) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.575 1.45) (end 1.6 1.45) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.575 -1.45) (end -1.575 1.45) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.25 1) (end -1.25 -1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -1.05 1.2) (end -1.25 1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.05 1.2) (end -1.05 1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.25 1) (end 1.05 1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.25 -1) (end 1.25 1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.05 -1.2) (end 1.25 -1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -1.05 -1.2) (end 1.05 -1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -1.25 -1) (end -1.05 -1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -1.025 -1.2) (end 1.075 -1.2) (layer F.SilkS) (width 0.2))
|
||||
(fp_line (start -1.025 1.2) (end 1.075 1.2) (layer F.SilkS) (width 0.2))
|
||||
(pad 2 smd rect (at -0.775 0) (size 1.15 2.2) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 1 smd rect (at 0.775 0) (size 1.15 2.2) (layers F.Cu F.Paste F.Mask))
|
||||
)
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
(module Crystal_SMD_2520-2Pin_2.5x2.0mm_HandSoldering (layer F.Cu) (tedit 5FB975A4)
|
||||
(fp_text reference REF** (at 0 -2.975) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value Crystal_SMD_2520-2Pin_2.5x2.0mm_HandSoldering (at 0 2.6) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -1.025 1.2) (end 1.075 1.2) (layer F.SilkS) (width 0.2))
|
||||
(fp_line (start -1.025 -1.2) (end 1.075 -1.2) (layer F.SilkS) (width 0.2))
|
||||
(fp_line (start -1.25 -1) (end -1.05 -1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -1.05 -1.2) (end 1.05 -1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.05 -1.2) (end 1.25 -1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.25 -1) (end 1.25 1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.25 1) (end 1.05 1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start 1.05 1.2) (end -1.05 1.2) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -1.05 1.2) (end -1.25 1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -1.25 1) (end -1.25 -1) (layer F.Fab) (width 0.12))
|
||||
(fp_line (start -2.05 -1.45) (end -2.05 1.45) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -2.05 1.45) (end 2.05 1.45) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 2.05 1.45) (end 2.05 -1.45) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 2.05 -1.45) (end -2.05 -1.45) (layer F.CrtYd) (width 0.05))
|
||||
(pad 2 smd rect (at -1 0) (size 1.6 2.2) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 1 smd rect (at 1 0) (size 1.6 2.2) (layers F.Cu F.Paste F.Mask))
|
||||
)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,525 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.6)-1*
|
||||
G04 #@! TF.CreationDate,2021-01-08T10:20:39+01:00*
|
||||
G04 #@! TF.ProjectId,Lokdecoder_TI_altQuartz,4c6f6b64-6563-46f6-9465-725f54495f61,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Soldermask,Bot*
|
||||
G04 #@! TF.FilePolarity,Negative*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW (5.1.6)-1) date 2021-01-08 10:20:39*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10R,1.600000X1.600000*%
|
||||
%ADD11R,0.500000X0.750000*%
|
||||
%ADD12R,1.100000X0.900000*%
|
||||
%ADD13R,0.550000X0.700000*%
|
||||
%ADD14R,0.700000X0.550000*%
|
||||
%ADD15C,0.770000*%
|
||||
%ADD16R,0.750000X0.500000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X67843400Y-118033800D03*
|
||||
D11*
|
||||
X51028600Y-106690200D03*
|
||||
X52328600Y-106690200D03*
|
||||
X51678600Y-104790200D03*
|
||||
X51678600Y-106690200D03*
|
||||
X52328600Y-104790200D03*
|
||||
X51028600Y-104790200D03*
|
||||
G36*
|
||||
G01*
|
||||
X59637350Y-110434300D02*
|
||||
X60199850Y-110434300D01*
|
||||
G75*
|
||||
G02*
|
||||
X60443600Y-110678050I0J-243750D01*
|
||||
G01*
|
||||
X60443600Y-111165550D01*
|
||||
G75*
|
||||
G02*
|
||||
X60199850Y-111409300I-243750J0D01*
|
||||
G01*
|
||||
X59637350Y-111409300D01*
|
||||
G75*
|
||||
G02*
|
||||
X59393600Y-111165550I0J243750D01*
|
||||
G01*
|
||||
X59393600Y-110678050D01*
|
||||
G75*
|
||||
G02*
|
||||
X59637350Y-110434300I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X59637350Y-112009300D02*
|
||||
X60199850Y-112009300D01*
|
||||
G75*
|
||||
G02*
|
||||
X60443600Y-112253050I0J-243750D01*
|
||||
G01*
|
||||
X60443600Y-112740550D01*
|
||||
G75*
|
||||
G02*
|
||||
X60199850Y-112984300I-243750J0D01*
|
||||
G01*
|
||||
X59637350Y-112984300D01*
|
||||
G75*
|
||||
G02*
|
||||
X59393600Y-112740550I0J243750D01*
|
||||
G01*
|
||||
X59393600Y-112253050D01*
|
||||
G75*
|
||||
G02*
|
||||
X59637350Y-112009300I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X58675850Y-112984100D02*
|
||||
X58113350Y-112984100D01*
|
||||
G75*
|
||||
G02*
|
||||
X57869600Y-112740350I0J243750D01*
|
||||
G01*
|
||||
X57869600Y-112252850D01*
|
||||
G75*
|
||||
G02*
|
||||
X58113350Y-112009100I243750J0D01*
|
||||
G01*
|
||||
X58675850Y-112009100D01*
|
||||
G75*
|
||||
G02*
|
||||
X58919600Y-112252850I0J-243750D01*
|
||||
G01*
|
||||
X58919600Y-112740350D01*
|
||||
G75*
|
||||
G02*
|
||||
X58675850Y-112984100I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X58675850Y-111409100D02*
|
||||
X58113350Y-111409100D01*
|
||||
G75*
|
||||
G02*
|
||||
X57869600Y-111165350I0J243750D01*
|
||||
G01*
|
||||
X57869600Y-110677850D01*
|
||||
G75*
|
||||
G02*
|
||||
X58113350Y-110434100I243750J0D01*
|
||||
G01*
|
||||
X58675850Y-110434100D01*
|
||||
G75*
|
||||
G02*
|
||||
X58919600Y-110677850I0J-243750D01*
|
||||
G01*
|
||||
X58919600Y-111165350D01*
|
||||
G75*
|
||||
G02*
|
||||
X58675850Y-111409100I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X57097350Y-104388900D02*
|
||||
X57659850Y-104388900D01*
|
||||
G75*
|
||||
G02*
|
||||
X57903600Y-104632650I0J-243750D01*
|
||||
G01*
|
||||
X57903600Y-105120150D01*
|
||||
G75*
|
||||
G02*
|
||||
X57659850Y-105363900I-243750J0D01*
|
||||
G01*
|
||||
X57097350Y-105363900D01*
|
||||
G75*
|
||||
G02*
|
||||
X56853600Y-105120150I0J243750D01*
|
||||
G01*
|
||||
X56853600Y-104632650D01*
|
||||
G75*
|
||||
G02*
|
||||
X57097350Y-104388900I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X57097350Y-105963900D02*
|
||||
X57659850Y-105963900D01*
|
||||
G75*
|
||||
G02*
|
||||
X57903600Y-106207650I0J-243750D01*
|
||||
G01*
|
||||
X57903600Y-106695150D01*
|
||||
G75*
|
||||
G02*
|
||||
X57659850Y-106938900I-243750J0D01*
|
||||
G01*
|
||||
X57097350Y-106938900D01*
|
||||
G75*
|
||||
G02*
|
||||
X56853600Y-106695150I0J243750D01*
|
||||
G01*
|
||||
X56853600Y-106207650D01*
|
||||
G75*
|
||||
G02*
|
||||
X57097350Y-105963900I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
D12*
|
||||
X62255400Y-115290600D03*
|
||||
X62255400Y-112750600D03*
|
||||
X68405400Y-112750600D03*
|
||||
X68405400Y-115290600D03*
|
||||
D13*
|
||||
X56718200Y-113834200D03*
|
||||
X56718200Y-115934200D03*
|
||||
D14*
|
||||
X61561000Y-107111800D03*
|
||||
X63661000Y-107111800D03*
|
||||
X61561000Y-105130600D03*
|
||||
X63661000Y-105130600D03*
|
||||
D15*
|
||||
X65598000Y-108682000D03*
|
||||
X65598000Y-109982000D03*
|
||||
X66898000Y-109982000D03*
|
||||
X66898000Y-108682000D03*
|
||||
X65598000Y-111282000D03*
|
||||
X66898000Y-111282000D03*
|
||||
G36*
|
||||
G01*
|
||||
X58669100Y-114352650D02*
|
||||
X58669100Y-113790150D01*
|
||||
G75*
|
||||
G02*
|
||||
X58912850Y-113546400I243750J0D01*
|
||||
G01*
|
||||
X59400350Y-113546400D01*
|
||||
G75*
|
||||
G02*
|
||||
X59644100Y-113790150I0J-243750D01*
|
||||
G01*
|
||||
X59644100Y-114352650D01*
|
||||
G75*
|
||||
G02*
|
||||
X59400350Y-114596400I-243750J0D01*
|
||||
G01*
|
||||
X58912850Y-114596400D01*
|
||||
G75*
|
||||
G02*
|
||||
X58669100Y-114352650I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X60244100Y-114352650D02*
|
||||
X60244100Y-113790150D01*
|
||||
G75*
|
||||
G02*
|
||||
X60487850Y-113546400I243750J0D01*
|
||||
G01*
|
||||
X60975350Y-113546400D01*
|
||||
G75*
|
||||
G02*
|
||||
X61219100Y-113790150I0J-243750D01*
|
||||
G01*
|
||||
X61219100Y-114352650D01*
|
||||
G75*
|
||||
G02*
|
||||
X60975350Y-114596400I-243750J0D01*
|
||||
G01*
|
||||
X60487850Y-114596400D01*
|
||||
G75*
|
||||
G02*
|
||||
X60244100Y-114352650I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X57906900Y-109729850D02*
|
||||
X57906900Y-109167350D01*
|
||||
G75*
|
||||
G02*
|
||||
X58150650Y-108923600I243750J0D01*
|
||||
G01*
|
||||
X58638150Y-108923600D01*
|
||||
G75*
|
||||
G02*
|
||||
X58881900Y-109167350I0J-243750D01*
|
||||
G01*
|
||||
X58881900Y-109729850D01*
|
||||
G75*
|
||||
G02*
|
||||
X58638150Y-109973600I-243750J0D01*
|
||||
G01*
|
||||
X58150650Y-109973600D01*
|
||||
G75*
|
||||
G02*
|
||||
X57906900Y-109729850I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X59481900Y-109729850D02*
|
||||
X59481900Y-109167350D01*
|
||||
G75*
|
||||
G02*
|
||||
X59725650Y-108923600I243750J0D01*
|
||||
G01*
|
||||
X60213150Y-108923600D01*
|
||||
G75*
|
||||
G02*
|
||||
X60456900Y-109167350I0J-243750D01*
|
||||
G01*
|
||||
X60456900Y-109729850D01*
|
||||
G75*
|
||||
G02*
|
||||
X60213150Y-109973600I-243750J0D01*
|
||||
G01*
|
||||
X59725650Y-109973600D01*
|
||||
G75*
|
||||
G02*
|
||||
X59481900Y-109729850I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X57881600Y-108205850D02*
|
||||
X57881600Y-107643350D01*
|
||||
G75*
|
||||
G02*
|
||||
X58125350Y-107399600I243750J0D01*
|
||||
G01*
|
||||
X58612850Y-107399600D01*
|
||||
G75*
|
||||
G02*
|
||||
X58856600Y-107643350I0J-243750D01*
|
||||
G01*
|
||||
X58856600Y-108205850D01*
|
||||
G75*
|
||||
G02*
|
||||
X58612850Y-108449600I-243750J0D01*
|
||||
G01*
|
||||
X58125350Y-108449600D01*
|
||||
G75*
|
||||
G02*
|
||||
X57881600Y-108205850I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X59456600Y-108205850D02*
|
||||
X59456600Y-107643350D01*
|
||||
G75*
|
||||
G02*
|
||||
X59700350Y-107399600I243750J0D01*
|
||||
G01*
|
||||
X60187850Y-107399600D01*
|
||||
G75*
|
||||
G02*
|
||||
X60431600Y-107643350I0J-243750D01*
|
||||
G01*
|
||||
X60431600Y-108205850D01*
|
||||
G75*
|
||||
G02*
|
||||
X60187850Y-108449600I-243750J0D01*
|
||||
G01*
|
||||
X59700350Y-108449600D01*
|
||||
G75*
|
||||
G02*
|
||||
X59456600Y-108205850I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X56589350Y-112009100D02*
|
||||
X57151850Y-112009100D01*
|
||||
G75*
|
||||
G02*
|
||||
X57395600Y-112252850I0J-243750D01*
|
||||
G01*
|
||||
X57395600Y-112740350D01*
|
||||
G75*
|
||||
G02*
|
||||
X57151850Y-112984100I-243750J0D01*
|
||||
G01*
|
||||
X56589350Y-112984100D01*
|
||||
G75*
|
||||
G02*
|
||||
X56345600Y-112740350I0J243750D01*
|
||||
G01*
|
||||
X56345600Y-112252850D01*
|
||||
G75*
|
||||
G02*
|
||||
X56589350Y-112009100I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X56589350Y-110434100D02*
|
||||
X57151850Y-110434100D01*
|
||||
G75*
|
||||
G02*
|
||||
X57395600Y-110677850I0J-243750D01*
|
||||
G01*
|
||||
X57395600Y-111165350D01*
|
||||
G75*
|
||||
G02*
|
||||
X57151850Y-111409100I-243750J0D01*
|
||||
G01*
|
||||
X56589350Y-111409100D01*
|
||||
G75*
|
||||
G02*
|
||||
X56345600Y-111165350I0J243750D01*
|
||||
G01*
|
||||
X56345600Y-110677850D01*
|
||||
G75*
|
||||
G02*
|
||||
X56589350Y-110434100I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X59234650Y-105364100D02*
|
||||
X58672150Y-105364100D01*
|
||||
G75*
|
||||
G02*
|
||||
X58428400Y-105120350I0J243750D01*
|
||||
G01*
|
||||
X58428400Y-104632850D01*
|
||||
G75*
|
||||
G02*
|
||||
X58672150Y-104389100I243750J0D01*
|
||||
G01*
|
||||
X59234650Y-104389100D01*
|
||||
G75*
|
||||
G02*
|
||||
X59478400Y-104632850I0J-243750D01*
|
||||
G01*
|
||||
X59478400Y-105120350D01*
|
||||
G75*
|
||||
G02*
|
||||
X59234650Y-105364100I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X59234650Y-106939100D02*
|
||||
X58672150Y-106939100D01*
|
||||
G75*
|
||||
G02*
|
||||
X58428400Y-106695350I0J243750D01*
|
||||
G01*
|
||||
X58428400Y-106207850D01*
|
||||
G75*
|
||||
G02*
|
||||
X58672150Y-105964100I243750J0D01*
|
||||
G01*
|
||||
X59234650Y-105964100D01*
|
||||
G75*
|
||||
G02*
|
||||
X59478400Y-106207850I0J-243750D01*
|
||||
G01*
|
||||
X59478400Y-106695350D01*
|
||||
G75*
|
||||
G02*
|
||||
X59234650Y-106939100I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X63142550Y-110129500D02*
|
||||
X63705050Y-110129500D01*
|
||||
G75*
|
||||
G02*
|
||||
X63948800Y-110373250I0J-243750D01*
|
||||
G01*
|
||||
X63948800Y-110860750D01*
|
||||
G75*
|
||||
G02*
|
||||
X63705050Y-111104500I-243750J0D01*
|
||||
G01*
|
||||
X63142550Y-111104500D01*
|
||||
G75*
|
||||
G02*
|
||||
X62898800Y-110860750I0J243750D01*
|
||||
G01*
|
||||
X62898800Y-110373250D01*
|
||||
G75*
|
||||
G02*
|
||||
X63142550Y-110129500I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X63142550Y-108554500D02*
|
||||
X63705050Y-108554500D01*
|
||||
G75*
|
||||
G02*
|
||||
X63948800Y-108798250I0J-243750D01*
|
||||
G01*
|
||||
X63948800Y-109285750D01*
|
||||
G75*
|
||||
G02*
|
||||
X63705050Y-109529500I-243750J0D01*
|
||||
G01*
|
||||
X63142550Y-109529500D01*
|
||||
G75*
|
||||
G02*
|
||||
X62898800Y-109285750I0J243750D01*
|
||||
G01*
|
||||
X62898800Y-108798250D01*
|
||||
G75*
|
||||
G02*
|
||||
X63142550Y-108554500I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
D16*
|
||||
X56327000Y-117333000D03*
|
||||
X56327000Y-118633000D03*
|
||||
X58227000Y-117983000D03*
|
||||
X56327000Y-117983000D03*
|
||||
X58227000Y-118633000D03*
|
||||
X58227000Y-117333000D03*
|
||||
D11*
|
||||
X51039000Y-115102600D03*
|
||||
X52339000Y-115102600D03*
|
||||
X51689000Y-117002600D03*
|
||||
X51689000Y-115102600D03*
|
||||
X52339000Y-117002600D03*
|
||||
X51039000Y-117002600D03*
|
||||
X51039000Y-111648200D03*
|
||||
X52339000Y-111648200D03*
|
||||
X51689000Y-113548200D03*
|
||||
X51689000Y-111648200D03*
|
||||
X52339000Y-113548200D03*
|
||||
X51039000Y-113548200D03*
|
||||
X51028600Y-108193800D03*
|
||||
X52328600Y-108193800D03*
|
||||
X51678600Y-110093800D03*
|
||||
X51678600Y-108193800D03*
|
||||
X52328600Y-110093800D03*
|
||||
X51028600Y-110093800D03*
|
||||
D10*
|
||||
X66725800Y-105333800D03*
|
||||
X69265800Y-105333800D03*
|
||||
X65303400Y-118033800D03*
|
||||
X62763400Y-118033800D03*
|
||||
X54381400Y-118135400D03*
|
||||
X60172600Y-118135400D03*
|
||||
X48895000Y-114477800D03*
|
||||
X54432200Y-114681000D03*
|
||||
X48895000Y-105435400D03*
|
||||
X55295800Y-105486200D03*
|
||||
X48895000Y-108229400D03*
|
||||
X54432200Y-108178600D03*
|
||||
X48895000Y-111633000D03*
|
||||
X54838600Y-111937800D03*
|
||||
X48945800Y-117119400D03*
|
||||
M02*
|
||||
@@ -0,0 +1,650 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.6)-1*
|
||||
G04 #@! TF.CreationDate,2021-01-08T10:20:39+01:00*
|
||||
G04 #@! TF.ProjectId,Lokdecoder_TI_altQuartz,4c6f6b64-6563-46f6-9465-725f54495f61,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Legend,Bot*
|
||||
G04 #@! TF.FilePolarity,Positive*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW (5.1.6)-1) date 2021-01-08 10:20:39*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.150000*%
|
||||
%ADD11C,0.152400*%
|
||||
%ADD12C,0.120000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X69589704Y-108394961D02*
|
||||
X70161133Y-108394961D01*
|
||||
X70275419Y-108356866D01*
|
||||
X70351609Y-108280676D01*
|
||||
X70389704Y-108166390D01*
|
||||
X70389704Y-108090200D01*
|
||||
X70389704Y-109156866D02*
|
||||
X70389704Y-108775914D01*
|
||||
X69589704Y-108775914D01*
|
||||
X70313514Y-109880676D02*
|
||||
X70351609Y-109842580D01*
|
||||
X70389704Y-109728295D01*
|
||||
X70389704Y-109652104D01*
|
||||
X70351609Y-109537819D01*
|
||||
X70275419Y-109461628D01*
|
||||
X70199228Y-109423533D01*
|
||||
X70046847Y-109385438D01*
|
||||
X69932561Y-109385438D01*
|
||||
X69780180Y-109423533D01*
|
||||
X69703990Y-109461628D01*
|
||||
X69627800Y-109537819D01*
|
||||
X69589704Y-109652104D01*
|
||||
X69589704Y-109728295D01*
|
||||
X69627800Y-109842580D01*
|
||||
X69665895Y-109880676D01*
|
||||
X69589704Y-110452104D02*
|
||||
X70161133Y-110452104D01*
|
||||
X70275419Y-110414009D01*
|
||||
X70351609Y-110337819D01*
|
||||
X70389704Y-110223533D01*
|
||||
X70389704Y-110147342D01*
|
||||
X70389704Y-111214009D02*
|
||||
X70389704Y-110833057D01*
|
||||
X69589704Y-110833057D01*
|
||||
X70313514Y-111937819D02*
|
||||
X70351609Y-111899723D01*
|
||||
X70389704Y-111785438D01*
|
||||
X70389704Y-111709247D01*
|
||||
X70351609Y-111594961D01*
|
||||
X70275419Y-111518771D01*
|
||||
X70199228Y-111480676D01*
|
||||
X70046847Y-111442580D01*
|
||||
X69932561Y-111442580D01*
|
||||
X69780180Y-111480676D01*
|
||||
X69703990Y-111518771D01*
|
||||
X69627800Y-111594961D01*
|
||||
X69589704Y-111709247D01*
|
||||
X69589704Y-111785438D01*
|
||||
X69627800Y-111899723D01*
|
||||
X69665895Y-111937819D01*
|
||||
X69589704Y-112509247D02*
|
||||
X70161133Y-112509247D01*
|
||||
X70275419Y-112471152D01*
|
||||
X70351609Y-112394961D01*
|
||||
X70389704Y-112280676D01*
|
||||
X70389704Y-112204485D01*
|
||||
X70389704Y-113271152D02*
|
||||
X70389704Y-112890200D01*
|
||||
X69589704Y-112890200D01*
|
||||
X70313514Y-113994961D02*
|
||||
X70351609Y-113956866D01*
|
||||
X70389704Y-113842580D01*
|
||||
X70389704Y-113766390D01*
|
||||
X70351609Y-113652104D01*
|
||||
X70275419Y-113575914D01*
|
||||
X70199228Y-113537819D01*
|
||||
X70046847Y-113499723D01*
|
||||
X69932561Y-113499723D01*
|
||||
X69780180Y-113537819D01*
|
||||
X69703990Y-113575914D01*
|
||||
X69627800Y-113652104D01*
|
||||
X69589704Y-113766390D01*
|
||||
X69589704Y-113842580D01*
|
||||
X69627800Y-113956866D01*
|
||||
X69665895Y-113994961D01*
|
||||
X69589704Y-114566390D02*
|
||||
X70161133Y-114566390D01*
|
||||
X70275419Y-114528295D01*
|
||||
X70351609Y-114452104D01*
|
||||
X70389704Y-114337819D01*
|
||||
X70389704Y-114261628D01*
|
||||
X70389704Y-115328295D02*
|
||||
X70389704Y-114947342D01*
|
||||
X69589704Y-114947342D01*
|
||||
X70313514Y-116052104D02*
|
||||
X70351609Y-116014009D01*
|
||||
X70389704Y-115899723D01*
|
||||
X70389704Y-115823533D01*
|
||||
X70351609Y-115709247D01*
|
||||
X70275419Y-115633057D01*
|
||||
X70199228Y-115594961D01*
|
||||
X70046847Y-115556866D01*
|
||||
X69932561Y-115556866D01*
|
||||
X69780180Y-115594961D01*
|
||||
X69703990Y-115633057D01*
|
||||
X69627800Y-115709247D01*
|
||||
X69589704Y-115823533D01*
|
||||
X69589704Y-115899723D01*
|
||||
X69627800Y-116014009D01*
|
||||
X69665895Y-116052104D01*
|
||||
D11*
|
||||
X52436485Y-118491000D02*
|
||||
X52513895Y-118452295D01*
|
||||
X52630009Y-118452295D01*
|
||||
X52746123Y-118491000D01*
|
||||
X52823533Y-118568409D01*
|
||||
X52862238Y-118645819D01*
|
||||
X52900942Y-118800638D01*
|
||||
X52900942Y-118916752D01*
|
||||
X52862238Y-119071571D01*
|
||||
X52823533Y-119148980D01*
|
||||
X52746123Y-119226390D01*
|
||||
X52630009Y-119265095D01*
|
||||
X52552600Y-119265095D01*
|
||||
X52436485Y-119226390D01*
|
||||
X52397780Y-119187685D01*
|
||||
X52397780Y-118916752D01*
|
||||
X52552600Y-118916752D01*
|
||||
X52165552Y-118452295D02*
|
||||
X51701095Y-118452295D01*
|
||||
X51933323Y-119265095D02*
|
||||
X51933323Y-118452295D01*
|
||||
X51430161Y-119265095D02*
|
||||
X51430161Y-118452295D01*
|
||||
X50539952Y-118452295D02*
|
||||
X50269019Y-119265095D01*
|
||||
X49998085Y-118452295D01*
|
||||
X49572333Y-118452295D02*
|
||||
X49494923Y-118452295D01*
|
||||
X49417514Y-118491000D01*
|
||||
X49378809Y-118529704D01*
|
||||
X49340104Y-118607114D01*
|
||||
X49301400Y-118761933D01*
|
||||
X49301400Y-118955457D01*
|
||||
X49340104Y-119110276D01*
|
||||
X49378809Y-119187685D01*
|
||||
X49417514Y-119226390D01*
|
||||
X49494923Y-119265095D01*
|
||||
X49572333Y-119265095D01*
|
||||
X49649742Y-119226390D01*
|
||||
X49688447Y-119187685D01*
|
||||
X49727152Y-119110276D01*
|
||||
X49765857Y-118955457D01*
|
||||
X49765857Y-118761933D01*
|
||||
X49727152Y-118607114D01*
|
||||
X49688447Y-118529704D01*
|
||||
X49649742Y-118491000D01*
|
||||
X49572333Y-118452295D01*
|
||||
X48953057Y-119187685D02*
|
||||
X48914352Y-119226390D01*
|
||||
X48953057Y-119265095D01*
|
||||
X48991761Y-119226390D01*
|
||||
X48953057Y-119187685D01*
|
||||
X48953057Y-119265095D01*
|
||||
X48604714Y-118529704D02*
|
||||
X48566009Y-118491000D01*
|
||||
X48488600Y-118452295D01*
|
||||
X48295076Y-118452295D01*
|
||||
X48217666Y-118491000D01*
|
||||
X48178961Y-118529704D01*
|
||||
X48140257Y-118607114D01*
|
||||
X48140257Y-118684523D01*
|
||||
X48178961Y-118800638D01*
|
||||
X48643419Y-119265095D01*
|
||||
X48140257Y-119265095D01*
|
||||
D12*
|
||||
X66893400Y-118983800D02*
|
||||
X68793400Y-118983800D01*
|
||||
X68793400Y-118983800D02*
|
||||
X68793400Y-117083800D01*
|
||||
X68793400Y-117083800D02*
|
||||
X66893400Y-117083800D01*
|
||||
X66893400Y-117083800D02*
|
||||
X66893400Y-118983800D01*
|
||||
X52838600Y-105040200D02*
|
||||
X52838600Y-106440200D01*
|
||||
X50518600Y-106440200D02*
|
||||
X50518600Y-104540200D01*
|
||||
X59408600Y-111546521D02*
|
||||
X59408600Y-111872079D01*
|
||||
X60428600Y-111546521D02*
|
||||
X60428600Y-111872079D01*
|
||||
X58904600Y-111871879D02*
|
||||
X58904600Y-111546321D01*
|
||||
X57884600Y-111871879D02*
|
||||
X57884600Y-111546321D01*
|
||||
X56868600Y-105501121D02*
|
||||
X56868600Y-105826679D01*
|
||||
X57888600Y-105501121D02*
|
||||
X57888600Y-105826679D01*
|
||||
X63130400Y-116520600D02*
|
||||
X63130400Y-116020600D01*
|
||||
X63130400Y-116020600D02*
|
||||
X61730400Y-116020600D01*
|
||||
X67530400Y-114820600D02*
|
||||
X67530400Y-113220600D01*
|
||||
X63130400Y-114820600D02*
|
||||
X63130400Y-113220600D01*
|
||||
X67530400Y-115720600D02*
|
||||
X67530400Y-116520600D01*
|
||||
X67530400Y-116520600D02*
|
||||
X63130400Y-116520600D01*
|
||||
X67530400Y-112320600D02*
|
||||
X67530400Y-111520600D01*
|
||||
X67530400Y-111520600D02*
|
||||
X63130400Y-111520600D01*
|
||||
X63130400Y-111520600D02*
|
||||
X63130400Y-112320600D01*
|
||||
X57568200Y-116384200D02*
|
||||
X57568200Y-113834200D01*
|
||||
X55868200Y-116384200D02*
|
||||
X55868200Y-113834200D01*
|
||||
X57568200Y-116384200D02*
|
||||
X55868200Y-116384200D01*
|
||||
X61111000Y-107961800D02*
|
||||
X61111000Y-106261800D01*
|
||||
X61111000Y-106261800D02*
|
||||
X63661000Y-106261800D01*
|
||||
X61111000Y-107961800D02*
|
||||
X63661000Y-107961800D01*
|
||||
X61111000Y-105980600D02*
|
||||
X61111000Y-104280600D01*
|
||||
X61111000Y-104280600D02*
|
||||
X63661000Y-104280600D01*
|
||||
X61111000Y-105980600D02*
|
||||
X63661000Y-105980600D01*
|
||||
X59781321Y-114581400D02*
|
||||
X60106879Y-114581400D01*
|
||||
X59781321Y-113561400D02*
|
||||
X60106879Y-113561400D01*
|
||||
X59019121Y-109958600D02*
|
||||
X59344679Y-109958600D01*
|
||||
X59019121Y-108938600D02*
|
||||
X59344679Y-108938600D01*
|
||||
X58993821Y-108434600D02*
|
||||
X59319379Y-108434600D01*
|
||||
X58993821Y-107414600D02*
|
||||
X59319379Y-107414600D01*
|
||||
X57380600Y-111546321D02*
|
||||
X57380600Y-111871879D01*
|
||||
X56360600Y-111546321D02*
|
||||
X56360600Y-111871879D01*
|
||||
X58443400Y-105826879D02*
|
||||
X58443400Y-105501321D01*
|
||||
X59463400Y-105826879D02*
|
||||
X59463400Y-105501321D01*
|
||||
X63933800Y-109666721D02*
|
||||
X63933800Y-109992279D01*
|
||||
X62913800Y-109666721D02*
|
||||
X62913800Y-109992279D01*
|
||||
X57977000Y-119143000D02*
|
||||
X56577000Y-119143000D01*
|
||||
X56577000Y-116823000D02*
|
||||
X58477000Y-116823000D01*
|
||||
X50529000Y-116752600D02*
|
||||
X50529000Y-114852600D01*
|
||||
X52849000Y-115352600D02*
|
||||
X52849000Y-116752600D01*
|
||||
X50529000Y-113298200D02*
|
||||
X50529000Y-111398200D01*
|
||||
X52849000Y-111898200D02*
|
||||
X52849000Y-113298200D01*
|
||||
X50518600Y-109843800D02*
|
||||
X50518600Y-107943800D01*
|
||||
X52838600Y-108443800D02*
|
||||
X52838600Y-109843800D01*
|
||||
X65775800Y-104383800D02*
|
||||
X65775800Y-106283800D01*
|
||||
X67675800Y-104383800D02*
|
||||
X65775800Y-104383800D01*
|
||||
X67675800Y-106283800D02*
|
||||
X67675800Y-104383800D01*
|
||||
X65775800Y-106283800D02*
|
||||
X67675800Y-106283800D01*
|
||||
X68315800Y-104383800D02*
|
||||
X68315800Y-106283800D01*
|
||||
X70215800Y-104383800D02*
|
||||
X68315800Y-104383800D01*
|
||||
X70215800Y-106283800D02*
|
||||
X70215800Y-104383800D01*
|
||||
X68315800Y-106283800D02*
|
||||
X70215800Y-106283800D01*
|
||||
X64353400Y-117083800D02*
|
||||
X64353400Y-118983800D01*
|
||||
X66253400Y-117083800D02*
|
||||
X64353400Y-117083800D01*
|
||||
X66253400Y-118983800D02*
|
||||
X66253400Y-117083800D01*
|
||||
X64353400Y-118983800D02*
|
||||
X66253400Y-118983800D01*
|
||||
X61813400Y-117083800D02*
|
||||
X61813400Y-118983800D01*
|
||||
X63713400Y-117083800D02*
|
||||
X61813400Y-117083800D01*
|
||||
X63713400Y-118983800D02*
|
||||
X63713400Y-117083800D01*
|
||||
X61813400Y-118983800D02*
|
||||
X63713400Y-118983800D01*
|
||||
X53431400Y-117185400D02*
|
||||
X53431400Y-119085400D01*
|
||||
X55331400Y-117185400D02*
|
||||
X53431400Y-117185400D01*
|
||||
X55331400Y-119085400D02*
|
||||
X55331400Y-117185400D01*
|
||||
X53431400Y-119085400D02*
|
||||
X55331400Y-119085400D01*
|
||||
X59222600Y-119085400D02*
|
||||
X61122600Y-119085400D01*
|
||||
X61122600Y-119085400D02*
|
||||
X61122600Y-117185400D01*
|
||||
X61122600Y-117185400D02*
|
||||
X59222600Y-117185400D01*
|
||||
X59222600Y-117185400D02*
|
||||
X59222600Y-119085400D01*
|
||||
X47945000Y-113527800D02*
|
||||
X47945000Y-115427800D01*
|
||||
X49845000Y-113527800D02*
|
||||
X47945000Y-113527800D01*
|
||||
X49845000Y-115427800D02*
|
||||
X49845000Y-113527800D01*
|
||||
X47945000Y-115427800D02*
|
||||
X49845000Y-115427800D01*
|
||||
X53482200Y-115631000D02*
|
||||
X55382200Y-115631000D01*
|
||||
X55382200Y-115631000D02*
|
||||
X55382200Y-113731000D01*
|
||||
X55382200Y-113731000D02*
|
||||
X53482200Y-113731000D01*
|
||||
X53482200Y-113731000D02*
|
||||
X53482200Y-115631000D01*
|
||||
X47945000Y-106385400D02*
|
||||
X49845000Y-106385400D01*
|
||||
X49845000Y-106385400D02*
|
||||
X49845000Y-104485400D01*
|
||||
X49845000Y-104485400D02*
|
||||
X47945000Y-104485400D01*
|
||||
X47945000Y-104485400D02*
|
||||
X47945000Y-106385400D01*
|
||||
X54345800Y-106436200D02*
|
||||
X56245800Y-106436200D01*
|
||||
X56245800Y-106436200D02*
|
||||
X56245800Y-104536200D01*
|
||||
X56245800Y-104536200D02*
|
||||
X54345800Y-104536200D01*
|
||||
X54345800Y-104536200D02*
|
||||
X54345800Y-106436200D01*
|
||||
X47945000Y-109179400D02*
|
||||
X49845000Y-109179400D01*
|
||||
X49845000Y-109179400D02*
|
||||
X49845000Y-107279400D01*
|
||||
X49845000Y-107279400D02*
|
||||
X47945000Y-107279400D01*
|
||||
X47945000Y-107279400D02*
|
||||
X47945000Y-109179400D01*
|
||||
X53482200Y-107228600D02*
|
||||
X53482200Y-109128600D01*
|
||||
X55382200Y-107228600D02*
|
||||
X53482200Y-107228600D01*
|
||||
X55382200Y-109128600D02*
|
||||
X55382200Y-107228600D01*
|
||||
X53482200Y-109128600D02*
|
||||
X55382200Y-109128600D01*
|
||||
X47945000Y-112583000D02*
|
||||
X49845000Y-112583000D01*
|
||||
X49845000Y-112583000D02*
|
||||
X49845000Y-110683000D01*
|
||||
X49845000Y-110683000D02*
|
||||
X47945000Y-110683000D01*
|
||||
X47945000Y-110683000D02*
|
||||
X47945000Y-112583000D01*
|
||||
X53888600Y-110987800D02*
|
||||
X53888600Y-112887800D01*
|
||||
X55788600Y-110987800D02*
|
||||
X53888600Y-110987800D01*
|
||||
X55788600Y-112887800D02*
|
||||
X55788600Y-110987800D01*
|
||||
X53888600Y-112887800D02*
|
||||
X55788600Y-112887800D01*
|
||||
X47995800Y-118069400D02*
|
||||
X49895800Y-118069400D01*
|
||||
X49895800Y-118069400D02*
|
||||
X49895800Y-116169400D01*
|
||||
X49895800Y-116169400D02*
|
||||
X47995800Y-116169400D01*
|
||||
X47995800Y-116169400D02*
|
||||
X47995800Y-118069400D01*
|
||||
D11*
|
||||
X68351333Y-119060166D02*
|
||||
X67951333Y-119060166D01*
|
||||
X68151333Y-119760166D02*
|
||||
X68151333Y-119060166D01*
|
||||
X67351333Y-119760166D02*
|
||||
X67751333Y-119760166D01*
|
||||
X67551333Y-119760166D02*
|
||||
X67551333Y-119060166D01*
|
||||
X67618000Y-119160166D01*
|
||||
X67684666Y-119226833D01*
|
||||
X67751333Y-119260166D01*
|
||||
X67383780Y-107225495D02*
|
||||
X67383780Y-106412695D01*
|
||||
X67112847Y-106993266D01*
|
||||
X66841914Y-106412695D01*
|
||||
X66841914Y-107225495D01*
|
||||
X66029114Y-107225495D02*
|
||||
X66493571Y-107225495D01*
|
||||
X66261342Y-107225495D02*
|
||||
X66261342Y-106412695D01*
|
||||
X66338752Y-106528809D01*
|
||||
X66416161Y-106606219D01*
|
||||
X66493571Y-106644923D01*
|
||||
X70025380Y-107174695D02*
|
||||
X70025380Y-106361895D01*
|
||||
X69754447Y-106942466D01*
|
||||
X69483514Y-106361895D01*
|
||||
X69483514Y-107174695D01*
|
||||
X69135171Y-106439304D02*
|
||||
X69096466Y-106400600D01*
|
||||
X69019057Y-106361895D01*
|
||||
X68825533Y-106361895D01*
|
||||
X68748123Y-106400600D01*
|
||||
X68709419Y-106439304D01*
|
||||
X68670714Y-106516714D01*
|
||||
X68670714Y-106594123D01*
|
||||
X68709419Y-106710238D01*
|
||||
X69173876Y-107174695D01*
|
||||
X68670714Y-107174695D01*
|
||||
X65811333Y-119060166D02*
|
||||
X65411333Y-119060166D01*
|
||||
X65611333Y-119760166D02*
|
||||
X65611333Y-119060166D01*
|
||||
X65211333Y-119126833D02*
|
||||
X65178000Y-119093500D01*
|
||||
X65111333Y-119060166D01*
|
||||
X64944666Y-119060166D01*
|
||||
X64878000Y-119093500D01*
|
||||
X64844666Y-119126833D01*
|
||||
X64811333Y-119193500D01*
|
||||
X64811333Y-119260166D01*
|
||||
X64844666Y-119360166D01*
|
||||
X65244666Y-119760166D01*
|
||||
X64811333Y-119760166D01*
|
||||
X63368166Y-119493500D02*
|
||||
X62834833Y-119493500D01*
|
||||
X63101500Y-119760166D02*
|
||||
X63101500Y-119226833D01*
|
||||
X62601500Y-119060166D02*
|
||||
X62368166Y-119760166D01*
|
||||
X62134833Y-119060166D01*
|
||||
X54852833Y-116663000D02*
|
||||
X55086166Y-116663000D01*
|
||||
X55086166Y-117029666D02*
|
||||
X55086166Y-116329666D01*
|
||||
X54752833Y-116329666D01*
|
||||
X54352833Y-116329666D02*
|
||||
X54286166Y-116329666D01*
|
||||
X54219500Y-116363000D01*
|
||||
X54186166Y-116396333D01*
|
||||
X54152833Y-116463000D01*
|
||||
X54119500Y-116596333D01*
|
||||
X54119500Y-116763000D01*
|
||||
X54152833Y-116896333D01*
|
||||
X54186166Y-116963000D01*
|
||||
X54219500Y-116996333D01*
|
||||
X54286166Y-117029666D01*
|
||||
X54352833Y-117029666D01*
|
||||
X54419500Y-116996333D01*
|
||||
X54452833Y-116963000D01*
|
||||
X54486166Y-116896333D01*
|
||||
X54519500Y-116763000D01*
|
||||
X54519500Y-116596333D01*
|
||||
X54486166Y-116463000D01*
|
||||
X54452833Y-116396333D01*
|
||||
X54419500Y-116363000D01*
|
||||
X54352833Y-116329666D01*
|
||||
X53919500Y-116563000D02*
|
||||
X53652833Y-116563000D01*
|
||||
X53819500Y-117029666D02*
|
||||
X53819500Y-116429666D01*
|
||||
X53786166Y-116363000D01*
|
||||
X53719500Y-116329666D01*
|
||||
X53652833Y-116329666D01*
|
||||
X60648000Y-116663000D02*
|
||||
X60881333Y-116663000D01*
|
||||
X60881333Y-117029666D02*
|
||||
X60881333Y-116329666D01*
|
||||
X60548000Y-116329666D01*
|
||||
X60148000Y-116329666D02*
|
||||
X60081333Y-116329666D01*
|
||||
X60014666Y-116363000D01*
|
||||
X59981333Y-116396333D01*
|
||||
X59948000Y-116463000D01*
|
||||
X59914666Y-116596333D01*
|
||||
X59914666Y-116763000D01*
|
||||
X59948000Y-116896333D01*
|
||||
X59981333Y-116963000D01*
|
||||
X60014666Y-116996333D01*
|
||||
X60081333Y-117029666D01*
|
||||
X60148000Y-117029666D01*
|
||||
X60214666Y-116996333D01*
|
||||
X60248000Y-116963000D01*
|
||||
X60281333Y-116896333D01*
|
||||
X60314666Y-116763000D01*
|
||||
X60314666Y-116596333D01*
|
||||
X60281333Y-116463000D01*
|
||||
X60248000Y-116396333D01*
|
||||
X60214666Y-116363000D01*
|
||||
X60148000Y-116329666D01*
|
||||
X59614666Y-117029666D02*
|
||||
X59614666Y-116563000D01*
|
||||
X59614666Y-116696333D02*
|
||||
X59581333Y-116629666D01*
|
||||
X59548000Y-116596333D01*
|
||||
X59481333Y-116563000D01*
|
||||
X59414666Y-116563000D01*
|
||||
X49965000Y-114807166D02*
|
||||
X50365000Y-114807166D01*
|
||||
X50165000Y-114807166D02*
|
||||
X50165000Y-114107166D01*
|
||||
X50231666Y-114207166D01*
|
||||
X50298333Y-114273833D01*
|
||||
X50365000Y-114307166D01*
|
||||
X53311400Y-114364333D02*
|
||||
X53278066Y-114331000D01*
|
||||
X53211400Y-114297666D01*
|
||||
X53044733Y-114297666D01*
|
||||
X52978066Y-114331000D01*
|
||||
X52944733Y-114364333D01*
|
||||
X52911400Y-114431000D01*
|
||||
X52911400Y-114497666D01*
|
||||
X52944733Y-114597666D01*
|
||||
X53344733Y-114997666D01*
|
||||
X52911400Y-114997666D01*
|
||||
X50398333Y-105102866D02*
|
||||
X49965000Y-105102866D01*
|
||||
X50198333Y-105369533D01*
|
||||
X50098333Y-105369533D01*
|
||||
X50031666Y-105402866D01*
|
||||
X49998333Y-105436200D01*
|
||||
X49965000Y-105502866D01*
|
||||
X49965000Y-105669533D01*
|
||||
X49998333Y-105736200D01*
|
||||
X50031666Y-105769533D01*
|
||||
X50098333Y-105802866D01*
|
||||
X50298333Y-105802866D01*
|
||||
X50365000Y-105769533D01*
|
||||
X50398333Y-105736200D01*
|
||||
X53790866Y-104980600D02*
|
||||
X53790866Y-105447266D01*
|
||||
X53957533Y-104713933D02*
|
||||
X54124200Y-105213933D01*
|
||||
X53690866Y-105213933D01*
|
||||
X49998333Y-107947666D02*
|
||||
X50331666Y-107947666D01*
|
||||
X50365000Y-108281000D01*
|
||||
X50331666Y-108247666D01*
|
||||
X50265000Y-108214333D01*
|
||||
X50098333Y-108214333D01*
|
||||
X50031666Y-108247666D01*
|
||||
X49998333Y-108281000D01*
|
||||
X49965000Y-108347666D01*
|
||||
X49965000Y-108514333D01*
|
||||
X49998333Y-108581000D01*
|
||||
X50031666Y-108614333D01*
|
||||
X50098333Y-108647666D01*
|
||||
X50265000Y-108647666D01*
|
||||
X50331666Y-108614333D01*
|
||||
X50365000Y-108581000D01*
|
||||
X55670466Y-107693666D02*
|
||||
X55803800Y-107693666D01*
|
||||
X55870466Y-107727000D01*
|
||||
X55903800Y-107760333D01*
|
||||
X55970466Y-107860333D01*
|
||||
X56003800Y-107993666D01*
|
||||
X56003800Y-108260333D01*
|
||||
X55970466Y-108327000D01*
|
||||
X55937133Y-108360333D01*
|
||||
X55870466Y-108393666D01*
|
||||
X55737133Y-108393666D01*
|
||||
X55670466Y-108360333D01*
|
||||
X55637133Y-108327000D01*
|
||||
X55603800Y-108260333D01*
|
||||
X55603800Y-108093666D01*
|
||||
X55637133Y-108027000D01*
|
||||
X55670466Y-107993666D01*
|
||||
X55737133Y-107960333D01*
|
||||
X55870466Y-107960333D01*
|
||||
X55937133Y-107993666D01*
|
||||
X55970466Y-108027000D01*
|
||||
X56003800Y-108093666D01*
|
||||
X50449133Y-111706866D02*
|
||||
X49982466Y-111706866D01*
|
||||
X50282466Y-112406866D01*
|
||||
X53635266Y-111905266D02*
|
||||
X53701933Y-111871933D01*
|
||||
X53735266Y-111838600D01*
|
||||
X53768600Y-111771933D01*
|
||||
X53768600Y-111738600D01*
|
||||
X53735266Y-111671933D01*
|
||||
X53701933Y-111638600D01*
|
||||
X53635266Y-111605266D01*
|
||||
X53501933Y-111605266D01*
|
||||
X53435266Y-111638600D01*
|
||||
X53401933Y-111671933D01*
|
||||
X53368600Y-111738600D01*
|
||||
X53368600Y-111771933D01*
|
||||
X53401933Y-111838600D01*
|
||||
X53435266Y-111871933D01*
|
||||
X53501933Y-111905266D01*
|
||||
X53635266Y-111905266D01*
|
||||
X53701933Y-111938600D01*
|
||||
X53735266Y-111971933D01*
|
||||
X53768600Y-112038600D01*
|
||||
X53768600Y-112171933D01*
|
||||
X53735266Y-112238600D01*
|
||||
X53701933Y-112271933D01*
|
||||
X53635266Y-112305266D01*
|
||||
X53501933Y-112305266D01*
|
||||
X53435266Y-112271933D01*
|
||||
X53401933Y-112238600D01*
|
||||
X53368600Y-112171933D01*
|
||||
X53368600Y-112038600D01*
|
||||
X53401933Y-111971933D01*
|
||||
X53435266Y-111938600D01*
|
||||
X53501933Y-111905266D01*
|
||||
X51303166Y-117906000D02*
|
||||
X50769833Y-117906000D01*
|
||||
X51036500Y-118172666D02*
|
||||
X51036500Y-117639333D01*
|
||||
X50536500Y-117472666D02*
|
||||
X50303166Y-118172666D01*
|
||||
X50069833Y-117472666D01*
|
||||
M02*
|
||||
@@ -0,0 +1,26 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.6)-1*
|
||||
G04 #@! TF.CreationDate,2021-01-08T10:20:39+01:00*
|
||||
G04 #@! TF.ProjectId,Lokdecoder_TI_altQuartz,4c6f6b64-6563-46f6-9465-725f54495f61,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Profile,NP*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW (5.1.6)-1) date 2021-01-08 10:20:39*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
G04 #@! TA.AperFunction,Profile*
|
||||
%ADD10C,0.050000*%
|
||||
G04 #@! TD*
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X70535800Y-104063800D02*
|
||||
X47625000Y-104063800D01*
|
||||
X70535800Y-119913400D02*
|
||||
X70535800Y-104063800D01*
|
||||
X47625000Y-119913400D02*
|
||||
X70535800Y-119913400D01*
|
||||
X47625000Y-104063800D02*
|
||||
X47625000Y-119913400D01*
|
||||
M02*
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,819 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.6)-1*
|
||||
G04 #@! TF.CreationDate,2021-01-08T10:20:39+01:00*
|
||||
G04 #@! TF.ProjectId,Lokdecoder_TI_altQuartz,4c6f6b64-6563-46f6-9465-725f54495f61,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Soldermask,Top*
|
||||
G04 #@! TF.FilePolarity,Negative*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW (5.1.6)-1) date 2021-01-08 10:20:39*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10R,2.300000X1.700000*%
|
||||
%ADD11R,0.650000X1.700000*%
|
||||
%ADD12R,1.700000X0.650000*%
|
||||
%ADD13R,1.100000X1.100000*%
|
||||
%ADD14R,1.160000X0.750000*%
|
||||
%ADD15R,2.400000X3.100000*%
|
||||
%ADD16R,2.340000X0.640000*%
|
||||
%ADD17C,0.770000*%
|
||||
%ADD18R,1.600000X1.600000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X62801500Y-118840000D03*
|
||||
X62801500Y-116840000D03*
|
||||
G36*
|
||||
G01*
|
||||
X62333450Y-113949300D02*
|
||||
X61770950Y-113949300D01*
|
||||
G75*
|
||||
G02*
|
||||
X61527200Y-113705550I0J243750D01*
|
||||
G01*
|
||||
X61527200Y-113218050D01*
|
||||
G75*
|
||||
G02*
|
||||
X61770950Y-112974300I243750J0D01*
|
||||
G01*
|
||||
X62333450Y-112974300D01*
|
||||
G75*
|
||||
G02*
|
||||
X62577200Y-113218050I0J-243750D01*
|
||||
G01*
|
||||
X62577200Y-113705550D01*
|
||||
G75*
|
||||
G02*
|
||||
X62333450Y-113949300I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X62333450Y-115524300D02*
|
||||
X61770950Y-115524300D01*
|
||||
G75*
|
||||
G02*
|
||||
X61527200Y-115280550I0J243750D01*
|
||||
G01*
|
||||
X61527200Y-114793050D01*
|
||||
G75*
|
||||
G02*
|
||||
X61770950Y-114549300I243750J0D01*
|
||||
G01*
|
||||
X62333450Y-114549300D01*
|
||||
G75*
|
||||
G02*
|
||||
X62577200Y-114793050I0J-243750D01*
|
||||
G01*
|
||||
X62577200Y-115280550D01*
|
||||
G75*
|
||||
G02*
|
||||
X62333450Y-115524300I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
D11*
|
||||
X53200000Y-116791000D03*
|
||||
X54000000Y-116791000D03*
|
||||
X54800000Y-116791000D03*
|
||||
X55600000Y-116791000D03*
|
||||
X56400000Y-116791000D03*
|
||||
X57200000Y-116791000D03*
|
||||
X58000000Y-116791000D03*
|
||||
X58800000Y-116791000D03*
|
||||
D12*
|
||||
X60250000Y-115341000D03*
|
||||
X60250000Y-114541000D03*
|
||||
X60250000Y-113741000D03*
|
||||
X60250000Y-112941000D03*
|
||||
X60250000Y-112141000D03*
|
||||
X60250000Y-111341000D03*
|
||||
X60250000Y-110541000D03*
|
||||
X60250000Y-109741000D03*
|
||||
D11*
|
||||
X58800000Y-108291000D03*
|
||||
X58000000Y-108291000D03*
|
||||
X57200000Y-108291000D03*
|
||||
X56400000Y-108291000D03*
|
||||
X55600000Y-108291000D03*
|
||||
X54800000Y-108291000D03*
|
||||
X54000000Y-108291000D03*
|
||||
X53200000Y-108291000D03*
|
||||
D12*
|
||||
X51750000Y-109741000D03*
|
||||
X51750000Y-110541000D03*
|
||||
X51750000Y-111341000D03*
|
||||
X51750000Y-112141000D03*
|
||||
X51750000Y-112941000D03*
|
||||
X51750000Y-113741000D03*
|
||||
X51750000Y-114541000D03*
|
||||
X51750000Y-115341000D03*
|
||||
G36*
|
||||
G01*
|
||||
X55021100Y-118565350D02*
|
||||
X55021100Y-119127850D01*
|
||||
G75*
|
||||
G02*
|
||||
X54777350Y-119371600I-243750J0D01*
|
||||
G01*
|
||||
X54289850Y-119371600D01*
|
||||
G75*
|
||||
G02*
|
||||
X54046100Y-119127850I0J243750D01*
|
||||
G01*
|
||||
X54046100Y-118565350D01*
|
||||
G75*
|
||||
G02*
|
||||
X54289850Y-118321600I243750J0D01*
|
||||
G01*
|
||||
X54777350Y-118321600D01*
|
||||
G75*
|
||||
G02*
|
||||
X55021100Y-118565350I0J-243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X56596100Y-118565350D02*
|
||||
X56596100Y-119127850D01*
|
||||
G75*
|
||||
G02*
|
||||
X56352350Y-119371600I-243750J0D01*
|
||||
G01*
|
||||
X55864850Y-119371600D01*
|
||||
G75*
|
||||
G02*
|
||||
X55621100Y-119127850I0J243750D01*
|
||||
G01*
|
||||
X55621100Y-118565350D01*
|
||||
G75*
|
||||
G02*
|
||||
X55864850Y-118321600I243750J0D01*
|
||||
G01*
|
||||
X56352350Y-118321600D01*
|
||||
G75*
|
||||
G02*
|
||||
X56596100Y-118565350I0J-243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X51871700Y-118565350D02*
|
||||
X51871700Y-119127850D01*
|
||||
G75*
|
||||
G02*
|
||||
X51627950Y-119371600I-243750J0D01*
|
||||
G01*
|
||||
X51140450Y-119371600D01*
|
||||
G75*
|
||||
G02*
|
||||
X50896700Y-119127850I0J243750D01*
|
||||
G01*
|
||||
X50896700Y-118565350D01*
|
||||
G75*
|
||||
G02*
|
||||
X51140450Y-118321600I243750J0D01*
|
||||
G01*
|
||||
X51627950Y-118321600D01*
|
||||
G75*
|
||||
G02*
|
||||
X51871700Y-118565350I0J-243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X53446700Y-118565350D02*
|
||||
X53446700Y-119127850D01*
|
||||
G75*
|
||||
G02*
|
||||
X53202950Y-119371600I-243750J0D01*
|
||||
G01*
|
||||
X52715450Y-119371600D01*
|
||||
G75*
|
||||
G02*
|
||||
X52471700Y-119127850I0J243750D01*
|
||||
G01*
|
||||
X52471700Y-118565350D01*
|
||||
G75*
|
||||
G02*
|
||||
X52715450Y-118321600I243750J0D01*
|
||||
G01*
|
||||
X53202950Y-118321600D01*
|
||||
G75*
|
||||
G02*
|
||||
X53446700Y-118565350I0J-243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X68372100Y-113793850D02*
|
||||
X68372100Y-113231350D01*
|
||||
G75*
|
||||
G02*
|
||||
X68615850Y-112987600I243750J0D01*
|
||||
G01*
|
||||
X69103350Y-112987600D01*
|
||||
G75*
|
||||
G02*
|
||||
X69347100Y-113231350I0J-243750D01*
|
||||
G01*
|
||||
X69347100Y-113793850D01*
|
||||
G75*
|
||||
G02*
|
||||
X69103350Y-114037600I-243750J0D01*
|
||||
G01*
|
||||
X68615850Y-114037600D01*
|
||||
G75*
|
||||
G02*
|
||||
X68372100Y-113793850I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X66797100Y-113793850D02*
|
||||
X66797100Y-113231350D01*
|
||||
G75*
|
||||
G02*
|
||||
X67040850Y-112987600I243750J0D01*
|
||||
G01*
|
||||
X67528350Y-112987600D01*
|
||||
G75*
|
||||
G02*
|
||||
X67772100Y-113231350I0J-243750D01*
|
||||
G01*
|
||||
X67772100Y-113793850D01*
|
||||
G75*
|
||||
G02*
|
||||
X67528350Y-114037600I-243750J0D01*
|
||||
G01*
|
||||
X67040850Y-114037600D01*
|
||||
G75*
|
||||
G02*
|
||||
X66797100Y-113793850I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X67210250Y-106964500D02*
|
||||
X66647750Y-106964500D01*
|
||||
G75*
|
||||
G02*
|
||||
X66404000Y-106720750I0J243750D01*
|
||||
G01*
|
||||
X66404000Y-106233250D01*
|
||||
G75*
|
||||
G02*
|
||||
X66647750Y-105989500I243750J0D01*
|
||||
G01*
|
||||
X67210250Y-105989500D01*
|
||||
G75*
|
||||
G02*
|
||||
X67454000Y-106233250I0J-243750D01*
|
||||
G01*
|
||||
X67454000Y-106720750D01*
|
||||
G75*
|
||||
G02*
|
||||
X67210250Y-106964500I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X67210250Y-105389500D02*
|
||||
X66647750Y-105389500D01*
|
||||
G75*
|
||||
G02*
|
||||
X66404000Y-105145750I0J243750D01*
|
||||
G01*
|
||||
X66404000Y-104658250D01*
|
||||
G75*
|
||||
G02*
|
||||
X66647750Y-104414500I243750J0D01*
|
||||
G01*
|
||||
X67210250Y-104414500D01*
|
||||
G75*
|
||||
G02*
|
||||
X67454000Y-104658250I0J-243750D01*
|
||||
G01*
|
||||
X67454000Y-105145750D01*
|
||||
G75*
|
||||
G02*
|
||||
X67210250Y-105389500I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
D13*
|
||||
X48742600Y-118237000D03*
|
||||
X48691800Y-105130600D03*
|
||||
X48742600Y-116205000D03*
|
||||
X48742600Y-114173000D03*
|
||||
X48742600Y-112141000D03*
|
||||
X63373000Y-105918000D03*
|
||||
X61341000Y-105918000D03*
|
||||
X59309000Y-105918000D03*
|
||||
X48691800Y-107162600D03*
|
||||
G36*
|
||||
G01*
|
||||
X49956800Y-106732650D02*
|
||||
X49956800Y-106170150D01*
|
||||
G75*
|
||||
G02*
|
||||
X50200550Y-105926400I243750J0D01*
|
||||
G01*
|
||||
X50688050Y-105926400D01*
|
||||
G75*
|
||||
G02*
|
||||
X50931800Y-106170150I0J-243750D01*
|
||||
G01*
|
||||
X50931800Y-106732650D01*
|
||||
G75*
|
||||
G02*
|
||||
X50688050Y-106976400I-243750J0D01*
|
||||
G01*
|
||||
X50200550Y-106976400D01*
|
||||
G75*
|
||||
G02*
|
||||
X49956800Y-106732650I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X51531800Y-106732650D02*
|
||||
X51531800Y-106170150D01*
|
||||
G75*
|
||||
G02*
|
||||
X51775550Y-105926400I243750J0D01*
|
||||
G01*
|
||||
X52263050Y-105926400D01*
|
||||
G75*
|
||||
G02*
|
||||
X52506800Y-106170150I0J-243750D01*
|
||||
G01*
|
||||
X52506800Y-106732650D01*
|
||||
G75*
|
||||
G02*
|
||||
X52263050Y-106976400I-243750J0D01*
|
||||
G01*
|
||||
X51775550Y-106976400D01*
|
||||
G75*
|
||||
G02*
|
||||
X51531800Y-106732650I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X54792500Y-106144750D02*
|
||||
X54792500Y-106707250D01*
|
||||
G75*
|
||||
G02*
|
||||
X54548750Y-106951000I-243750J0D01*
|
||||
G01*
|
||||
X54061250Y-106951000D01*
|
||||
G75*
|
||||
G02*
|
||||
X53817500Y-106707250I0J243750D01*
|
||||
G01*
|
||||
X53817500Y-106144750D01*
|
||||
G75*
|
||||
G02*
|
||||
X54061250Y-105901000I243750J0D01*
|
||||
G01*
|
||||
X54548750Y-105901000D01*
|
||||
G75*
|
||||
G02*
|
||||
X54792500Y-106144750I0J-243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X56367500Y-106144750D02*
|
||||
X56367500Y-106707250D01*
|
||||
G75*
|
||||
G02*
|
||||
X56123750Y-106951000I-243750J0D01*
|
||||
G01*
|
||||
X55636250Y-106951000D01*
|
||||
G75*
|
||||
G02*
|
||||
X55392500Y-106707250I0J243750D01*
|
||||
G01*
|
||||
X55392500Y-106144750D01*
|
||||
G75*
|
||||
G02*
|
||||
X55636250Y-105901000I243750J0D01*
|
||||
G01*
|
||||
X56123750Y-105901000D01*
|
||||
G75*
|
||||
G02*
|
||||
X56367500Y-106144750I0J-243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X64818950Y-112974100D02*
|
||||
X65381450Y-112974100D01*
|
||||
G75*
|
||||
G02*
|
||||
X65625200Y-113217850I0J-243750D01*
|
||||
G01*
|
||||
X65625200Y-113705350D01*
|
||||
G75*
|
||||
G02*
|
||||
X65381450Y-113949100I-243750J0D01*
|
||||
G01*
|
||||
X64818950Y-113949100D01*
|
||||
G75*
|
||||
G02*
|
||||
X64575200Y-113705350I0J243750D01*
|
||||
G01*
|
||||
X64575200Y-113217850D01*
|
||||
G75*
|
||||
G02*
|
||||
X64818950Y-112974100I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X64818950Y-114549100D02*
|
||||
X65381450Y-114549100D01*
|
||||
G75*
|
||||
G02*
|
||||
X65625200Y-114792850I0J-243750D01*
|
||||
G01*
|
||||
X65625200Y-115280350D01*
|
||||
G75*
|
||||
G02*
|
||||
X65381450Y-115524100I-243750J0D01*
|
||||
G01*
|
||||
X64818950Y-115524100D01*
|
||||
G75*
|
||||
G02*
|
||||
X64575200Y-115280350I0J243750D01*
|
||||
G01*
|
||||
X64575200Y-114792850D01*
|
||||
G75*
|
||||
G02*
|
||||
X64818950Y-114549100I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X66358000Y-119416750D02*
|
||||
X66358000Y-118454250D01*
|
||||
G75*
|
||||
G02*
|
||||
X66626750Y-118185500I268750J0D01*
|
||||
G01*
|
||||
X67164250Y-118185500D01*
|
||||
G75*
|
||||
G02*
|
||||
X67433000Y-118454250I0J-268750D01*
|
||||
G01*
|
||||
X67433000Y-119416750D01*
|
||||
G75*
|
||||
G02*
|
||||
X67164250Y-119685500I-268750J0D01*
|
||||
G01*
|
||||
X66626750Y-119685500D01*
|
||||
G75*
|
||||
G02*
|
||||
X66358000Y-119416750I0J268750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X68233000Y-119416750D02*
|
||||
X68233000Y-118454250D01*
|
||||
G75*
|
||||
G02*
|
||||
X68501750Y-118185500I268750J0D01*
|
||||
G01*
|
||||
X69039250Y-118185500D01*
|
||||
G75*
|
||||
G02*
|
||||
X69308000Y-118454250I0J-268750D01*
|
||||
G01*
|
||||
X69308000Y-119416750D01*
|
||||
G75*
|
||||
G02*
|
||||
X69039250Y-119685500I-268750J0D01*
|
||||
G01*
|
||||
X68501750Y-119685500D01*
|
||||
G75*
|
||||
G02*
|
||||
X68233000Y-119416750I0J268750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X60091500Y-119407250D02*
|
||||
X60091500Y-118844750D01*
|
||||
G75*
|
||||
G02*
|
||||
X60335250Y-118601000I243750J0D01*
|
||||
G01*
|
||||
X60822750Y-118601000D01*
|
||||
G75*
|
||||
G02*
|
||||
X61066500Y-118844750I0J-243750D01*
|
||||
G01*
|
||||
X61066500Y-119407250D01*
|
||||
G75*
|
||||
G02*
|
||||
X60822750Y-119651000I-243750J0D01*
|
||||
G01*
|
||||
X60335250Y-119651000D01*
|
||||
G75*
|
||||
G02*
|
||||
X60091500Y-119407250I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X58516500Y-119407250D02*
|
||||
X58516500Y-118844750D01*
|
||||
G75*
|
||||
G02*
|
||||
X58760250Y-118601000I243750J0D01*
|
||||
G01*
|
||||
X59247750Y-118601000D01*
|
||||
G75*
|
||||
G02*
|
||||
X59491500Y-118844750I0J-243750D01*
|
||||
G01*
|
||||
X59491500Y-119407250D01*
|
||||
G75*
|
||||
G02*
|
||||
X59247750Y-119651000I-243750J0D01*
|
||||
G01*
|
||||
X58760250Y-119651000D01*
|
||||
G75*
|
||||
G02*
|
||||
X58516500Y-119407250I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X63294950Y-114549300D02*
|
||||
X63857450Y-114549300D01*
|
||||
G75*
|
||||
G02*
|
||||
X64101200Y-114793050I0J-243750D01*
|
||||
G01*
|
||||
X64101200Y-115280550D01*
|
||||
G75*
|
||||
G02*
|
||||
X63857450Y-115524300I-243750J0D01*
|
||||
G01*
|
||||
X63294950Y-115524300D01*
|
||||
G75*
|
||||
G02*
|
||||
X63051200Y-115280550I0J243750D01*
|
||||
G01*
|
||||
X63051200Y-114793050D01*
|
||||
G75*
|
||||
G02*
|
||||
X63294950Y-114549300I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X63294950Y-112974300D02*
|
||||
X63857450Y-112974300D01*
|
||||
G75*
|
||||
G02*
|
||||
X64101200Y-113218050I0J-243750D01*
|
||||
G01*
|
||||
X64101200Y-113705550D01*
|
||||
G75*
|
||||
G02*
|
||||
X63857450Y-113949300I-243750J0D01*
|
||||
G01*
|
||||
X63294950Y-113949300D01*
|
||||
G75*
|
||||
G02*
|
||||
X63051200Y-113705550I0J243750D01*
|
||||
G01*
|
||||
X63051200Y-113218050D01*
|
||||
G75*
|
||||
G02*
|
||||
X63294950Y-112974300I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X57122750Y-104414500D02*
|
||||
X57685250Y-104414500D01*
|
||||
G75*
|
||||
G02*
|
||||
X57929000Y-104658250I0J-243750D01*
|
||||
G01*
|
||||
X57929000Y-105145750D01*
|
||||
G75*
|
||||
G02*
|
||||
X57685250Y-105389500I-243750J0D01*
|
||||
G01*
|
||||
X57122750Y-105389500D01*
|
||||
G75*
|
||||
G02*
|
||||
X56879000Y-105145750I0J243750D01*
|
||||
G01*
|
||||
X56879000Y-104658250D01*
|
||||
G75*
|
||||
G02*
|
||||
X57122750Y-104414500I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X57122750Y-105989500D02*
|
||||
X57685250Y-105989500D01*
|
||||
G75*
|
||||
G02*
|
||||
X57929000Y-106233250I0J-243750D01*
|
||||
G01*
|
||||
X57929000Y-106720750D01*
|
||||
G75*
|
||||
G02*
|
||||
X57685250Y-106964500I-243750J0D01*
|
||||
G01*
|
||||
X57122750Y-106964500D01*
|
||||
G75*
|
||||
G02*
|
||||
X56879000Y-106720750I0J243750D01*
|
||||
G01*
|
||||
X56879000Y-106233250D01*
|
||||
G75*
|
||||
G02*
|
||||
X57122750Y-105989500I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X65559250Y-106964500D02*
|
||||
X64996750Y-106964500D01*
|
||||
G75*
|
||||
G02*
|
||||
X64753000Y-106720750I0J243750D01*
|
||||
G01*
|
||||
X64753000Y-106233250D01*
|
||||
G75*
|
||||
G02*
|
||||
X64996750Y-105989500I243750J0D01*
|
||||
G01*
|
||||
X65559250Y-105989500D01*
|
||||
G75*
|
||||
G02*
|
||||
X65803000Y-106233250I0J-243750D01*
|
||||
G01*
|
||||
X65803000Y-106720750D01*
|
||||
G75*
|
||||
G02*
|
||||
X65559250Y-106964500I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X65559250Y-105389500D02*
|
||||
X64996750Y-105389500D01*
|
||||
G75*
|
||||
G02*
|
||||
X64753000Y-105145750I0J243750D01*
|
||||
G01*
|
||||
X64753000Y-104658250D01*
|
||||
G75*
|
||||
G02*
|
||||
X64996750Y-104414500I243750J0D01*
|
||||
G01*
|
||||
X65559250Y-104414500D01*
|
||||
G75*
|
||||
G02*
|
||||
X65803000Y-104658250I0J-243750D01*
|
||||
G01*
|
||||
X65803000Y-105145750D01*
|
||||
G75*
|
||||
G02*
|
||||
X65559250Y-105389500I-243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
D14*
|
||||
X68875000Y-117053400D03*
|
||||
X68875000Y-116103400D03*
|
||||
X68875000Y-115153400D03*
|
||||
X66675000Y-115153400D03*
|
||||
X66675000Y-117053400D03*
|
||||
D15*
|
||||
X66248000Y-109982000D03*
|
||||
D16*
|
||||
X63373000Y-108077000D03*
|
||||
X63373000Y-109347000D03*
|
||||
X63373000Y-110617000D03*
|
||||
X63373000Y-111887000D03*
|
||||
X69123000Y-111887000D03*
|
||||
X69123000Y-110617000D03*
|
||||
X69123000Y-109347000D03*
|
||||
X69123000Y-108077000D03*
|
||||
D17*
|
||||
X65598000Y-108682000D03*
|
||||
X65598000Y-109982000D03*
|
||||
X66898000Y-109982000D03*
|
||||
X66898000Y-108682000D03*
|
||||
X65598000Y-111282000D03*
|
||||
X66898000Y-111282000D03*
|
||||
G36*
|
||||
G01*
|
||||
X48461350Y-109951800D02*
|
||||
X49023850Y-109951800D01*
|
||||
G75*
|
||||
G02*
|
||||
X49267600Y-110195550I0J-243750D01*
|
||||
G01*
|
||||
X49267600Y-110683050D01*
|
||||
G75*
|
||||
G02*
|
||||
X49023850Y-110926800I-243750J0D01*
|
||||
G01*
|
||||
X48461350Y-110926800D01*
|
||||
G75*
|
||||
G02*
|
||||
X48217600Y-110683050I0J243750D01*
|
||||
G01*
|
||||
X48217600Y-110195550D01*
|
||||
G75*
|
||||
G02*
|
||||
X48461350Y-109951800I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X48461350Y-108376800D02*
|
||||
X49023850Y-108376800D01*
|
||||
G75*
|
||||
G02*
|
||||
X49267600Y-108620550I0J-243750D01*
|
||||
G01*
|
||||
X49267600Y-109108050D01*
|
||||
G75*
|
||||
G02*
|
||||
X49023850Y-109351800I-243750J0D01*
|
||||
G01*
|
||||
X48461350Y-109351800D01*
|
||||
G75*
|
||||
G02*
|
||||
X48217600Y-109108050I0J243750D01*
|
||||
G01*
|
||||
X48217600Y-108620550D01*
|
||||
G75*
|
||||
G02*
|
||||
X48461350Y-108376800I243750J0D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X55392500Y-105183250D02*
|
||||
X55392500Y-104620750D01*
|
||||
G75*
|
||||
G02*
|
||||
X55636250Y-104377000I243750J0D01*
|
||||
G01*
|
||||
X56123750Y-104377000D01*
|
||||
G75*
|
||||
G02*
|
||||
X56367500Y-104620750I0J-243750D01*
|
||||
G01*
|
||||
X56367500Y-105183250D01*
|
||||
G75*
|
||||
G02*
|
||||
X56123750Y-105427000I-243750J0D01*
|
||||
G01*
|
||||
X55636250Y-105427000D01*
|
||||
G75*
|
||||
G02*
|
||||
X55392500Y-105183250I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
G36*
|
||||
G01*
|
||||
X53817500Y-105183250D02*
|
||||
X53817500Y-104620750D01*
|
||||
G75*
|
||||
G02*
|
||||
X54061250Y-104377000I243750J0D01*
|
||||
G01*
|
||||
X54548750Y-104377000D01*
|
||||
G75*
|
||||
G02*
|
||||
X54792500Y-104620750I0J-243750D01*
|
||||
G01*
|
||||
X54792500Y-105183250D01*
|
||||
G75*
|
||||
G02*
|
||||
X54548750Y-105427000I-243750J0D01*
|
||||
G01*
|
||||
X54061250Y-105427000D01*
|
||||
G75*
|
||||
G02*
|
||||
X53817500Y-105183250I0J243750D01*
|
||||
G01*
|
||||
G37*
|
||||
D18*
|
||||
X69113400Y-105486200D03*
|
||||
M02*
|
||||
@@ -0,0 +1,639 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.1.6)-1*
|
||||
G04 #@! TF.CreationDate,2021-01-08T10:20:39+01:00*
|
||||
G04 #@! TF.ProjectId,Lokdecoder_TI_altQuartz,4c6f6b64-6563-46f6-9465-725f54495f61,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Legend,Top*
|
||||
G04 #@! TF.FilePolarity,Positive*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW (5.1.6)-1) date 2021-01-08 10:20:39*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.152400*%
|
||||
%ADD11C,0.200000*%
|
||||
%ADD12C,0.120000*%
|
||||
%ADD13C,0.150000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X64267666Y-117474166D02*
|
||||
X64267666Y-116774166D01*
|
||||
X64434333Y-116774166D01*
|
||||
X64534333Y-116807500D01*
|
||||
X64601000Y-116874166D01*
|
||||
X64634333Y-116940833D01*
|
||||
X64667666Y-117074166D01*
|
||||
X64667666Y-117174166D01*
|
||||
X64634333Y-117307500D01*
|
||||
X64601000Y-117374166D01*
|
||||
X64534333Y-117440833D01*
|
||||
X64434333Y-117474166D01*
|
||||
X64267666Y-117474166D01*
|
||||
X65367666Y-117407500D02*
|
||||
X65334333Y-117440833D01*
|
||||
X65234333Y-117474166D01*
|
||||
X65167666Y-117474166D01*
|
||||
X65067666Y-117440833D01*
|
||||
X65001000Y-117374166D01*
|
||||
X64967666Y-117307500D01*
|
||||
X64934333Y-117174166D01*
|
||||
X64934333Y-117074166D01*
|
||||
X64967666Y-116940833D01*
|
||||
X65001000Y-116874166D01*
|
||||
X65067666Y-116807500D01*
|
||||
X65167666Y-116774166D01*
|
||||
X65234333Y-116774166D01*
|
||||
X65334333Y-116807500D01*
|
||||
X65367666Y-116840833D01*
|
||||
X66067666Y-117407500D02*
|
||||
X66034333Y-117440833D01*
|
||||
X65934333Y-117474166D01*
|
||||
X65867666Y-117474166D01*
|
||||
X65767666Y-117440833D01*
|
||||
X65701000Y-117374166D01*
|
||||
X65667666Y-117307500D01*
|
||||
X65634333Y-117174166D01*
|
||||
X65634333Y-117074166D01*
|
||||
X65667666Y-116940833D01*
|
||||
X65701000Y-116874166D01*
|
||||
X65767666Y-116807500D01*
|
||||
X65867666Y-116774166D01*
|
||||
X65934333Y-116774166D01*
|
||||
X66034333Y-116807500D01*
|
||||
X66067666Y-116840833D01*
|
||||
X64384333Y-119506166D02*
|
||||
X64384333Y-118806166D01*
|
||||
X64551000Y-118806166D01*
|
||||
X64651000Y-118839500D01*
|
||||
X64717666Y-118906166D01*
|
||||
X64751000Y-118972833D01*
|
||||
X64784333Y-119106166D01*
|
||||
X64784333Y-119206166D01*
|
||||
X64751000Y-119339500D01*
|
||||
X64717666Y-119406166D01*
|
||||
X64651000Y-119472833D01*
|
||||
X64551000Y-119506166D01*
|
||||
X64384333Y-119506166D01*
|
||||
X65351000Y-119472833D02*
|
||||
X65284333Y-119506166D01*
|
||||
X65151000Y-119506166D01*
|
||||
X65084333Y-119472833D01*
|
||||
X65051000Y-119406166D01*
|
||||
X65051000Y-119139500D01*
|
||||
X65084333Y-119072833D01*
|
||||
X65151000Y-119039500D01*
|
||||
X65284333Y-119039500D01*
|
||||
X65351000Y-119072833D01*
|
||||
X65384333Y-119139500D01*
|
||||
X65384333Y-119206166D01*
|
||||
X65051000Y-119272833D01*
|
||||
X65684333Y-119506166D02*
|
||||
X65684333Y-118806166D01*
|
||||
X65751000Y-119239500D02*
|
||||
X65951000Y-119506166D01*
|
||||
X65951000Y-119039500D02*
|
||||
X65684333Y-119306166D01*
|
||||
X64674273Y-118490166D02*
|
||||
X64340940Y-118490166D01*
|
||||
X64340940Y-117790166D01*
|
||||
X65007606Y-118490166D02*
|
||||
X64940940Y-118456833D01*
|
||||
X64907606Y-118423500D01*
|
||||
X64874273Y-118356833D01*
|
||||
X64874273Y-118156833D01*
|
||||
X64907606Y-118090166D01*
|
||||
X64940940Y-118056833D01*
|
||||
X65007606Y-118023500D01*
|
||||
X65107606Y-118023500D01*
|
||||
X65174273Y-118056833D01*
|
||||
X65207606Y-118090166D01*
|
||||
X65240940Y-118156833D01*
|
||||
X65240940Y-118356833D01*
|
||||
X65207606Y-118423500D01*
|
||||
X65174273Y-118456833D01*
|
||||
X65107606Y-118490166D01*
|
||||
X65007606Y-118490166D01*
|
||||
X65540940Y-118490166D02*
|
||||
X65540940Y-117790166D01*
|
||||
X65607606Y-118223500D02*
|
||||
X65807606Y-118490166D01*
|
||||
X65807606Y-118023500D02*
|
||||
X65540940Y-118290166D01*
|
||||
D11*
|
||||
X64001500Y-116815000D02*
|
||||
X64001500Y-118915000D01*
|
||||
X61601500Y-116815000D02*
|
||||
X61601500Y-118915000D01*
|
||||
D12*
|
||||
X62787200Y-115734300D02*
|
||||
X62787200Y-113449300D01*
|
||||
X61317200Y-115734300D02*
|
||||
X62787200Y-115734300D01*
|
||||
X61317200Y-113449300D02*
|
||||
X61317200Y-115734300D01*
|
||||
D13*
|
||||
X52375000Y-116166000D02*
|
||||
X52600000Y-116166000D01*
|
||||
X52375000Y-108916000D02*
|
||||
X52700000Y-108916000D01*
|
||||
X59625000Y-108916000D02*
|
||||
X59300000Y-108916000D01*
|
||||
X59625000Y-116166000D02*
|
||||
X59300000Y-116166000D01*
|
||||
X52375000Y-116166000D02*
|
||||
X52375000Y-115841000D01*
|
||||
X59625000Y-116166000D02*
|
||||
X59625000Y-115841000D01*
|
||||
X59625000Y-108916000D02*
|
||||
X59625000Y-109241000D01*
|
||||
X52375000Y-108916000D02*
|
||||
X52375000Y-109241000D01*
|
||||
X52600000Y-116166000D02*
|
||||
X52600000Y-117591000D01*
|
||||
D12*
|
||||
X55483879Y-118336600D02*
|
||||
X55158321Y-118336600D01*
|
||||
X55483879Y-119356600D02*
|
||||
X55158321Y-119356600D01*
|
||||
X53656700Y-118111600D02*
|
||||
X51371700Y-118111600D01*
|
||||
X53656700Y-119581600D02*
|
||||
X53656700Y-118111600D01*
|
||||
X51371700Y-119581600D02*
|
||||
X53656700Y-119581600D01*
|
||||
X67909321Y-114022600D02*
|
||||
X68234879Y-114022600D01*
|
||||
X67909321Y-113002600D02*
|
||||
X68234879Y-113002600D01*
|
||||
X66419000Y-105852279D02*
|
||||
X66419000Y-105526721D01*
|
||||
X67439000Y-105852279D02*
|
||||
X67439000Y-105526721D01*
|
||||
X48042600Y-118937000D02*
|
||||
X48042600Y-117537000D01*
|
||||
X49442600Y-118937000D02*
|
||||
X48042600Y-118937000D01*
|
||||
X49442600Y-117537000D02*
|
||||
X49442600Y-118937000D01*
|
||||
X48042600Y-117537000D02*
|
||||
X49442600Y-117537000D01*
|
||||
X47991800Y-105830600D02*
|
||||
X47991800Y-104430600D01*
|
||||
X49391800Y-105830600D02*
|
||||
X47991800Y-105830600D01*
|
||||
X49391800Y-104430600D02*
|
||||
X49391800Y-105830600D01*
|
||||
X47991800Y-104430600D02*
|
||||
X49391800Y-104430600D01*
|
||||
X48042600Y-116905000D02*
|
||||
X48042600Y-115505000D01*
|
||||
X49442600Y-116905000D02*
|
||||
X48042600Y-116905000D01*
|
||||
X49442600Y-115505000D02*
|
||||
X49442600Y-116905000D01*
|
||||
X48042600Y-115505000D02*
|
||||
X49442600Y-115505000D01*
|
||||
X48042600Y-114873000D02*
|
||||
X48042600Y-113473000D01*
|
||||
X49442600Y-114873000D02*
|
||||
X48042600Y-114873000D01*
|
||||
X49442600Y-113473000D02*
|
||||
X49442600Y-114873000D01*
|
||||
X48042600Y-113473000D02*
|
||||
X49442600Y-113473000D01*
|
||||
X48042600Y-112841000D02*
|
||||
X48042600Y-111441000D01*
|
||||
X49442600Y-112841000D02*
|
||||
X48042600Y-112841000D01*
|
||||
X49442600Y-111441000D02*
|
||||
X49442600Y-112841000D01*
|
||||
X48042600Y-111441000D02*
|
||||
X49442600Y-111441000D01*
|
||||
X62673000Y-106618000D02*
|
||||
X62673000Y-105218000D01*
|
||||
X64073000Y-106618000D02*
|
||||
X62673000Y-106618000D01*
|
||||
X64073000Y-105218000D02*
|
||||
X64073000Y-106618000D01*
|
||||
X62673000Y-105218000D02*
|
||||
X64073000Y-105218000D01*
|
||||
X60641000Y-106618000D02*
|
||||
X60641000Y-105218000D01*
|
||||
X62041000Y-106618000D02*
|
||||
X60641000Y-106618000D01*
|
||||
X62041000Y-105218000D02*
|
||||
X62041000Y-106618000D01*
|
||||
X60641000Y-105218000D02*
|
||||
X62041000Y-105218000D01*
|
||||
X58609000Y-106618000D02*
|
||||
X58609000Y-105218000D01*
|
||||
X60009000Y-106618000D02*
|
||||
X58609000Y-106618000D01*
|
||||
X60009000Y-105218000D02*
|
||||
X60009000Y-106618000D01*
|
||||
X58609000Y-105218000D02*
|
||||
X60009000Y-105218000D01*
|
||||
X47991800Y-107862600D02*
|
||||
X47991800Y-106462600D01*
|
||||
X49391800Y-107862600D02*
|
||||
X47991800Y-107862600D01*
|
||||
X49391800Y-106462600D02*
|
||||
X49391800Y-107862600D01*
|
||||
X47991800Y-106462600D02*
|
||||
X49391800Y-106462600D01*
|
||||
X51069021Y-105941400D02*
|
||||
X51394579Y-105941400D01*
|
||||
X51069021Y-106961400D02*
|
||||
X51394579Y-106961400D01*
|
||||
X55255279Y-105916000D02*
|
||||
X54929721Y-105916000D01*
|
||||
X55255279Y-106936000D02*
|
||||
X54929721Y-106936000D01*
|
||||
X65610200Y-114086321D02*
|
||||
X65610200Y-114411879D01*
|
||||
X64590200Y-114086321D02*
|
||||
X64590200Y-114411879D01*
|
||||
X67574422Y-118225500D02*
|
||||
X68091578Y-118225500D01*
|
||||
X67574422Y-119645500D02*
|
||||
X68091578Y-119645500D01*
|
||||
X59628721Y-119636000D02*
|
||||
X59954279Y-119636000D01*
|
||||
X59628721Y-118616000D02*
|
||||
X59954279Y-118616000D01*
|
||||
X63066200Y-114086521D02*
|
||||
X63066200Y-114412079D01*
|
||||
X64086200Y-114086521D02*
|
||||
X64086200Y-114412079D01*
|
||||
X58139000Y-106489500D02*
|
||||
X58139000Y-104204500D01*
|
||||
X58139000Y-104204500D02*
|
||||
X56669000Y-104204500D01*
|
||||
X56669000Y-104204500D02*
|
||||
X56669000Y-106489500D01*
|
||||
X64543000Y-104889500D02*
|
||||
X64543000Y-107174500D01*
|
||||
X64543000Y-107174500D02*
|
||||
X66013000Y-107174500D01*
|
||||
X66013000Y-107174500D02*
|
||||
X66013000Y-104889500D01*
|
||||
X68675000Y-114493400D02*
|
||||
X66875000Y-114493400D01*
|
||||
X66875000Y-117713400D02*
|
||||
X69325000Y-117713400D01*
|
||||
D13*
|
||||
X64173000Y-107407000D02*
|
||||
X64173000Y-107457000D01*
|
||||
X68323000Y-107407000D02*
|
||||
X68323000Y-107552000D01*
|
||||
X68323000Y-112557000D02*
|
||||
X68323000Y-112412000D01*
|
||||
X64173000Y-112557000D02*
|
||||
X64173000Y-112412000D01*
|
||||
X64173000Y-107407000D02*
|
||||
X68323000Y-107407000D01*
|
||||
X64173000Y-112557000D02*
|
||||
X68323000Y-112557000D01*
|
||||
X64173000Y-107457000D02*
|
||||
X62773000Y-107457000D01*
|
||||
D12*
|
||||
X48232600Y-109489021D02*
|
||||
X48232600Y-109814579D01*
|
||||
X49252600Y-109489021D02*
|
||||
X49252600Y-109814579D01*
|
||||
X54929721Y-105412000D02*
|
||||
X55255279Y-105412000D01*
|
||||
X54929721Y-104392000D02*
|
||||
X55255279Y-104392000D01*
|
||||
X68163400Y-104536200D02*
|
||||
X70063400Y-104536200D01*
|
||||
X70063400Y-104536200D02*
|
||||
X70063400Y-106436200D01*
|
||||
X70063400Y-106436200D02*
|
||||
X68163400Y-106436200D01*
|
||||
X68163400Y-106436200D02*
|
||||
X68163400Y-104536200D01*
|
||||
D10*
|
||||
X50419000Y-117820923D02*
|
||||
X50457704Y-117743514D01*
|
||||
X50457704Y-117627400D01*
|
||||
X50419000Y-117511285D01*
|
||||
X50341590Y-117433876D01*
|
||||
X50264180Y-117395171D01*
|
||||
X50109361Y-117356466D01*
|
||||
X49993247Y-117356466D01*
|
||||
X49838428Y-117395171D01*
|
||||
X49761019Y-117433876D01*
|
||||
X49683609Y-117511285D01*
|
||||
X49644904Y-117627400D01*
|
||||
X49644904Y-117704809D01*
|
||||
X49683609Y-117820923D01*
|
||||
X49722314Y-117859628D01*
|
||||
X49993247Y-117859628D01*
|
||||
X49993247Y-117704809D01*
|
||||
X49644904Y-118207971D02*
|
||||
X50457704Y-118207971D01*
|
||||
X49644904Y-118672428D01*
|
||||
X50457704Y-118672428D01*
|
||||
X49644904Y-119059476D02*
|
||||
X50457704Y-119059476D01*
|
||||
X50457704Y-119253000D01*
|
||||
X50419000Y-119369114D01*
|
||||
X50341590Y-119446523D01*
|
||||
X50264180Y-119485228D01*
|
||||
X50109361Y-119523933D01*
|
||||
X49993247Y-119523933D01*
|
||||
X49838428Y-119485228D01*
|
||||
X49761019Y-119446523D01*
|
||||
X49683609Y-119369114D01*
|
||||
X49644904Y-119253000D01*
|
||||
X49644904Y-119059476D01*
|
||||
X49594104Y-104201685D02*
|
||||
X50406904Y-104201685D01*
|
||||
X50406904Y-104395209D01*
|
||||
X50368200Y-104511323D01*
|
||||
X50290790Y-104588733D01*
|
||||
X50213380Y-104627438D01*
|
||||
X50058561Y-104666142D01*
|
||||
X49942447Y-104666142D01*
|
||||
X49787628Y-104627438D01*
|
||||
X49710219Y-104588733D01*
|
||||
X49632809Y-104511323D01*
|
||||
X49594104Y-104395209D01*
|
||||
X49594104Y-104201685D01*
|
||||
X50406904Y-104898371D02*
|
||||
X50406904Y-105362828D01*
|
||||
X49594104Y-105130600D02*
|
||||
X50406904Y-105130600D01*
|
||||
X49594104Y-106098219D02*
|
||||
X49981152Y-105827285D01*
|
||||
X49594104Y-105633761D02*
|
||||
X50406904Y-105633761D01*
|
||||
X50406904Y-105943400D01*
|
||||
X50368200Y-106020809D01*
|
||||
X50329495Y-106059514D01*
|
||||
X50252085Y-106098219D01*
|
||||
X50135971Y-106098219D01*
|
||||
X50058561Y-106059514D01*
|
||||
X50019857Y-106020809D01*
|
||||
X49981152Y-105943400D01*
|
||||
X49981152Y-105633761D01*
|
||||
X50457704Y-115534923D02*
|
||||
X50457704Y-115999380D01*
|
||||
X49644904Y-115767152D02*
|
||||
X50457704Y-115767152D01*
|
||||
X50457704Y-116192904D02*
|
||||
X49644904Y-116734771D01*
|
||||
X50457704Y-116734771D02*
|
||||
X49644904Y-116192904D01*
|
||||
X49644904Y-114088333D02*
|
||||
X50031952Y-113817400D01*
|
||||
X49644904Y-113623876D02*
|
||||
X50457704Y-113623876D01*
|
||||
X50457704Y-113933514D01*
|
||||
X50419000Y-114010923D01*
|
||||
X50380295Y-114049628D01*
|
||||
X50302885Y-114088333D01*
|
||||
X50186771Y-114088333D01*
|
||||
X50109361Y-114049628D01*
|
||||
X50070657Y-114010923D01*
|
||||
X50031952Y-113933514D01*
|
||||
X50031952Y-113623876D01*
|
||||
X50457704Y-114359266D02*
|
||||
X49644904Y-114901133D01*
|
||||
X50457704Y-114901133D02*
|
||||
X49644904Y-114359266D01*
|
||||
X50457704Y-111935380D02*
|
||||
X50457704Y-111548333D01*
|
||||
X50070657Y-111509628D01*
|
||||
X50109361Y-111548333D01*
|
||||
X50148066Y-111625742D01*
|
||||
X50148066Y-111819266D01*
|
||||
X50109361Y-111896676D01*
|
||||
X50070657Y-111935380D01*
|
||||
X49993247Y-111974085D01*
|
||||
X49799723Y-111974085D01*
|
||||
X49722314Y-111935380D01*
|
||||
X49683609Y-111896676D01*
|
||||
X49644904Y-111819266D01*
|
||||
X49644904Y-111625742D01*
|
||||
X49683609Y-111548333D01*
|
||||
X49722314Y-111509628D01*
|
||||
X50457704Y-112206314D02*
|
||||
X49644904Y-112477247D01*
|
||||
X50457704Y-112748180D01*
|
||||
X61790942Y-105041095D02*
|
||||
X61790942Y-104228295D01*
|
||||
X62061876Y-104808866D01*
|
||||
X62332809Y-104228295D01*
|
||||
X62332809Y-105041095D01*
|
||||
X62874676Y-104228295D02*
|
||||
X63029495Y-104228295D01*
|
||||
X63106904Y-104267000D01*
|
||||
X63184314Y-104344409D01*
|
||||
X63223019Y-104499228D01*
|
||||
X63223019Y-104770161D01*
|
||||
X63184314Y-104924980D01*
|
||||
X63106904Y-105002390D01*
|
||||
X63029495Y-105041095D01*
|
||||
X62874676Y-105041095D01*
|
||||
X62797266Y-105002390D01*
|
||||
X62719857Y-104924980D01*
|
||||
X62681152Y-104770161D01*
|
||||
X62681152Y-104499228D01*
|
||||
X62719857Y-104344409D01*
|
||||
X62797266Y-104267000D01*
|
||||
X62874676Y-104228295D01*
|
||||
X63532657Y-105002390D02*
|
||||
X63648771Y-105041095D01*
|
||||
X63842295Y-105041095D01*
|
||||
X63919704Y-105002390D01*
|
||||
X63958409Y-104963685D01*
|
||||
X63997114Y-104886276D01*
|
||||
X63997114Y-104808866D01*
|
||||
X63958409Y-104731457D01*
|
||||
X63919704Y-104692752D01*
|
||||
X63842295Y-104654047D01*
|
||||
X63687476Y-104615342D01*
|
||||
X63610066Y-104576638D01*
|
||||
X63571361Y-104537933D01*
|
||||
X63532657Y-104460523D01*
|
||||
X63532657Y-104383114D01*
|
||||
X63571361Y-104305704D01*
|
||||
X63610066Y-104267000D01*
|
||||
X63687476Y-104228295D01*
|
||||
X63881000Y-104228295D01*
|
||||
X63997114Y-104267000D01*
|
||||
X64345457Y-105041095D02*
|
||||
X64345457Y-104228295D01*
|
||||
X60012942Y-107581095D02*
|
||||
X60012942Y-106768295D01*
|
||||
X60283876Y-107348866D01*
|
||||
X60554809Y-106768295D01*
|
||||
X60554809Y-107581095D01*
|
||||
X60941857Y-107581095D02*
|
||||
X60941857Y-106768295D01*
|
||||
X61290200Y-107542390D02*
|
||||
X61406314Y-107581095D01*
|
||||
X61599838Y-107581095D01*
|
||||
X61677247Y-107542390D01*
|
||||
X61715952Y-107503685D01*
|
||||
X61754657Y-107426276D01*
|
||||
X61754657Y-107348866D01*
|
||||
X61715952Y-107271457D01*
|
||||
X61677247Y-107232752D01*
|
||||
X61599838Y-107194047D01*
|
||||
X61445019Y-107155342D01*
|
||||
X61367609Y-107116638D01*
|
||||
X61328904Y-107077933D01*
|
||||
X61290200Y-107000523D01*
|
||||
X61290200Y-106923114D01*
|
||||
X61328904Y-106845704D01*
|
||||
X61367609Y-106807000D01*
|
||||
X61445019Y-106768295D01*
|
||||
X61638542Y-106768295D01*
|
||||
X61754657Y-106807000D01*
|
||||
X62257819Y-106768295D02*
|
||||
X62412638Y-106768295D01*
|
||||
X62490047Y-106807000D01*
|
||||
X62567457Y-106884409D01*
|
||||
X62606161Y-107039228D01*
|
||||
X62606161Y-107310161D01*
|
||||
X62567457Y-107464980D01*
|
||||
X62490047Y-107542390D01*
|
||||
X62412638Y-107581095D01*
|
||||
X62257819Y-107581095D01*
|
||||
X62180409Y-107542390D01*
|
||||
X62103000Y-107464980D01*
|
||||
X62064295Y-107310161D01*
|
||||
X62064295Y-107039228D01*
|
||||
X62103000Y-106884409D01*
|
||||
X62180409Y-106807000D01*
|
||||
X62257819Y-106768295D01*
|
||||
X58263971Y-105002390D02*
|
||||
X58380085Y-105041095D01*
|
||||
X58573609Y-105041095D01*
|
||||
X58651019Y-105002390D01*
|
||||
X58689723Y-104963685D01*
|
||||
X58728428Y-104886276D01*
|
||||
X58728428Y-104808866D01*
|
||||
X58689723Y-104731457D01*
|
||||
X58651019Y-104692752D01*
|
||||
X58573609Y-104654047D01*
|
||||
X58418790Y-104615342D01*
|
||||
X58341380Y-104576638D01*
|
||||
X58302676Y-104537933D01*
|
||||
X58263971Y-104460523D01*
|
||||
X58263971Y-104383114D01*
|
||||
X58302676Y-104305704D01*
|
||||
X58341380Y-104267000D01*
|
||||
X58418790Y-104228295D01*
|
||||
X58612314Y-104228295D01*
|
||||
X58728428Y-104267000D01*
|
||||
X59541228Y-104963685D02*
|
||||
X59502523Y-105002390D01*
|
||||
X59386409Y-105041095D01*
|
||||
X59309000Y-105041095D01*
|
||||
X59192885Y-105002390D01*
|
||||
X59115476Y-104924980D01*
|
||||
X59076771Y-104847571D01*
|
||||
X59038066Y-104692752D01*
|
||||
X59038066Y-104576638D01*
|
||||
X59076771Y-104421819D01*
|
||||
X59115476Y-104344409D01*
|
||||
X59192885Y-104267000D01*
|
||||
X59309000Y-104228295D01*
|
||||
X59386409Y-104228295D01*
|
||||
X59502523Y-104267000D01*
|
||||
X59541228Y-104305704D01*
|
||||
X59889571Y-105041095D02*
|
||||
X59889571Y-104228295D01*
|
||||
X60354028Y-105041095D02*
|
||||
X60005685Y-104576638D01*
|
||||
X60354028Y-104228295D02*
|
||||
X59889571Y-104692752D01*
|
||||
X49594104Y-106947304D02*
|
||||
X49981152Y-106676371D01*
|
||||
X49594104Y-106482847D02*
|
||||
X50406904Y-106482847D01*
|
||||
X50406904Y-106792485D01*
|
||||
X50368200Y-106869895D01*
|
||||
X50329495Y-106908600D01*
|
||||
X50252085Y-106947304D01*
|
||||
X50135971Y-106947304D01*
|
||||
X50058561Y-106908600D01*
|
||||
X50019857Y-106869895D01*
|
||||
X49981152Y-106792485D01*
|
||||
X49981152Y-106482847D01*
|
||||
X50019857Y-107295647D02*
|
||||
X50019857Y-107566580D01*
|
||||
X49594104Y-107682695D02*
|
||||
X49594104Y-107295647D01*
|
||||
X50406904Y-107295647D01*
|
||||
X50406904Y-107682695D01*
|
||||
X49632809Y-107992333D02*
|
||||
X49594104Y-108108447D01*
|
||||
X49594104Y-108301971D01*
|
||||
X49632809Y-108379380D01*
|
||||
X49671514Y-108418085D01*
|
||||
X49748923Y-108456790D01*
|
||||
X49826333Y-108456790D01*
|
||||
X49903742Y-108418085D01*
|
||||
X49942447Y-108379380D01*
|
||||
X49981152Y-108301971D01*
|
||||
X50019857Y-108147152D01*
|
||||
X50058561Y-108069742D01*
|
||||
X50097266Y-108031038D01*
|
||||
X50174676Y-107992333D01*
|
||||
X50252085Y-107992333D01*
|
||||
X50329495Y-108031038D01*
|
||||
X50368200Y-108069742D01*
|
||||
X50406904Y-108147152D01*
|
||||
X50406904Y-108340676D01*
|
||||
X50368200Y-108456790D01*
|
||||
X50019857Y-108805133D02*
|
||||
X50019857Y-109076066D01*
|
||||
X49594104Y-109192180D02*
|
||||
X49594104Y-108805133D01*
|
||||
X50406904Y-108805133D01*
|
||||
X50406904Y-109192180D01*
|
||||
X50406904Y-109424409D02*
|
||||
X50406904Y-109888866D01*
|
||||
X49594104Y-109656638D02*
|
||||
X50406904Y-109656638D01*
|
||||
X67782923Y-106603800D02*
|
||||
X67705514Y-106565095D01*
|
||||
X67589400Y-106565095D01*
|
||||
X67473285Y-106603800D01*
|
||||
X67395876Y-106681209D01*
|
||||
X67357171Y-106758619D01*
|
||||
X67318466Y-106913438D01*
|
||||
X67318466Y-107029552D01*
|
||||
X67357171Y-107184371D01*
|
||||
X67395876Y-107261780D01*
|
||||
X67473285Y-107339190D01*
|
||||
X67589400Y-107377895D01*
|
||||
X67666809Y-107377895D01*
|
||||
X67782923Y-107339190D01*
|
||||
X67821628Y-107300485D01*
|
||||
X67821628Y-107029552D01*
|
||||
X67666809Y-107029552D01*
|
||||
X68169971Y-107377895D02*
|
||||
X68169971Y-106565095D01*
|
||||
X68634428Y-107377895D01*
|
||||
X68634428Y-106565095D01*
|
||||
X69021476Y-107377895D02*
|
||||
X69021476Y-106565095D01*
|
||||
X69215000Y-106565095D01*
|
||||
X69331114Y-106603800D01*
|
||||
X69408523Y-106681209D01*
|
||||
X69447228Y-106758619D01*
|
||||
X69485933Y-106913438D01*
|
||||
X69485933Y-107029552D01*
|
||||
X69447228Y-107184371D01*
|
||||
X69408523Y-107261780D01*
|
||||
X69331114Y-107339190D01*
|
||||
X69215000Y-107377895D01*
|
||||
X69021476Y-107377895D01*
|
||||
M02*
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
M48
|
||||
; DRILL file {KiCad (5.1.6)-1} date 01/08/21 10:09:46
|
||||
; FORMAT={-:-/ absolute / inch / decimal}
|
||||
; #@! TF.CreationDate,2021-01-08T10:09:46+01:00
|
||||
; #@! TF.GenerationSoftware,Kicad,Pcbnew,(5.1.6)-1
|
||||
; #@! TF.FileFunction,NonPlated,1,4,NPTH
|
||||
FMAT,2
|
||||
INCH
|
||||
%
|
||||
G90
|
||||
G05
|
||||
T0
|
||||
M30
|
||||
@@ -0,0 +1,53 @@
|
||||
M48
|
||||
; DRILL file {KiCad (5.1.6)-1} date 01/08/21 10:09:46
|
||||
; FORMAT={-:-/ absolute / inch / decimal}
|
||||
; #@! TF.CreationDate,2021-01-08T10:09:46+01:00
|
||||
; #@! TF.GenerationSoftware,Kicad,Pcbnew,(5.1.6)-1
|
||||
; #@! TF.FileFunction,Plated,1,4,PTH
|
||||
FMAT,2
|
||||
INCH
|
||||
T1C0.0130
|
||||
T2C0.0157
|
||||
%
|
||||
G90
|
||||
G05
|
||||
T1
|
||||
X2.5826Y-4.2788
|
||||
X2.5826Y-4.33
|
||||
X2.5826Y-4.3812
|
||||
X2.6338Y-4.2788
|
||||
X2.6338Y-4.33
|
||||
X2.6338Y-4.3812
|
||||
T2
|
||||
X1.9493Y-4.6807
|
||||
X1.9607Y-4.4473
|
||||
X1.981Y-4.375
|
||||
X1.987Y-4.239
|
||||
X1.9893Y-4.2929
|
||||
X2.0602Y-4.298
|
||||
X2.081Y-4.1588
|
||||
X2.0847Y-4.23
|
||||
X2.0914Y-4.5589
|
||||
X2.0925Y-4.327
|
||||
X2.0925Y-4.4361
|
||||
X2.099Y-4.3785
|
||||
X2.119Y-4.171
|
||||
X2.1518Y-4.3132
|
||||
X2.153Y-4.461
|
||||
X2.183Y-4.3539
|
||||
X2.197Y-4.507
|
||||
X2.211Y-4.321
|
||||
X2.233Y-4.5252
|
||||
X2.253Y-4.319
|
||||
X2.2559Y-4.6688
|
||||
X2.275Y-4.491
|
||||
X2.3169Y-4.543
|
||||
X2.369Y-4.5695
|
||||
X2.373Y-4.129
|
||||
X2.5614Y-4.5714
|
||||
X2.607Y-4.461
|
||||
X2.7214Y-4.355
|
||||
X2.7398Y-4.6084
|
||||
X2.743Y-4.211
|
||||
T0
|
||||
M30
|
||||
Reference in New Issue
Block a user