// Board Hardware configuration file for Fly-E3
// generated by RepRapFirmware Configuration Tool (LPC Version) v3.2.1-LPC 
// on Thu Mar 11 2021 19:49:24 GMT+0100 (Central European Standard Time)

//Note: Each line should be less than 120 characters.
//    : Unwanted options can be commented out or set to NoPin. Lines commented out will get default values
//    : for pins the default is NoPin.
//    : Values for Arrays need to be contained within { and }
//    : Comments can be defined with // or # (comments are not supported inside arrays)
//    : Each config entry must be all on a single line.

lpc.board = fly_E3; 

//LED blinks to indicate Platform is spinning or other diagnostic 
//Comment out or set to NoPin if not wanted.
leds.diagnostic = PA.8; 

heat.tempSensePins = {bedtemp, e0temp}; //Max of 3 entries
//heat.spiTempSensorCSPins = { }; //Max of 2 entries

//ESP Settings
8266wifi.espDataReadyPin = PE.13;
8266wifi.lpcTfrReadyPin = PE.14;
8266wifi.espResetPin = PE.15;
//ESP RX/TX Settings
8266wifi.serialRxTxPins = { PD.9, PD.8 };

serial.aux.rxTxPins = {NoPin, NoPin};
//TMC Smart Drivers
stepper.numSmartDrivers = 4				; Telling the Board we use FLY-TMC 2209 Smart drivers
stepper.TmcDiagPins = {PA.2, PA.1}		; For Sensorless Homing X and Y
//LCD Settings
lcd.encoderPinA=E.10					; Sets encoder direction A was 9
lcd.encoderPinB=E.9						; Sets encoder direction B was 10
lcd.encoderPinSw=E.11					; Sets encoder button pin
lcd.lcdCSPin=E.7						; Sets CS pin
lcd.spiChannel=3						; Sets the SPI channel
SPI3.pins={E.8, NoPin, B.1}				; Sets the SPI pins
lcd.lcdBeepPin = E.12					; Sets the LCD beeper