LPC176x Framework update (#15722)

Changes required for compatibility with framework-arduino-lpc176x 0.2.0
This commit is contained in:
Chris Pepper
2019-11-03 02:34:09 +00:00
committed by GitHub
parent 15f94e5ee5
commit b9116d4050
30 changed files with 172 additions and 176 deletions

View File

@@ -25,7 +25,7 @@
* TH3D EZBoard pin assignments
*/
#ifndef LPC1769
#ifndef MCU_LPC1769
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif
@@ -94,18 +94,18 @@
// 3.3V max when defined as an Analog Input!
//
#if TEMP_SENSOR_0 == 20 // PT100 Adapter
#define TEMP_0_PIN 7 // Analog Input
#define TEMP_0_PIN P0_02_A7 // Analog Input
#else
#define TEMP_0_PIN 0 // Analog Input P0_23
#define TEMP_0_PIN P0_23_A0 // Analog Input P0_23
#endif
#define TEMP_BED_PIN 1 // Analog Input P0_24
#define TEMP_1_PIN 2 // Analog Input P0_25
#define TEMP_BED_PIN P0_24_A1 // Analog Input P0_24
#define TEMP_1_PIN P0_25_A2 // Analog Input P0_25
#if ENABLED(FILAMENT_WIDTH_SENSOR)
#define FILWIDTH_PIN 3 // Analog Input P0_26
#define FILWIDTH_PIN P0_26_A3 // Analog Input P0_26
#else
#define TEMP_2_PIN 3 // Analog Input P0_26
#define TEMP_2_PIN P0_26_A3 // Analog Input P0_26
#endif
//