Commit 595d5a11 authored by Simone's avatar Simone

Added support for see the Power Consumption

Added support for an Hall Effect sensor to retrieve the current and calulate Wh
parent aaf8a30d
......@@ -907,6 +907,9 @@
//Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 // ANALOG NUMBERING
#endif
#ifdef POWER_CONSUMPTION
#define POWER_CONSUMPTION_PIN 4 // ANALOG NUMBERING
#endif
#if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
#define KILL_PIN 41
......@@ -1112,6 +1115,9 @@
//Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 // ANALOG NUMBERING
#endif
#ifdef POWER_CONSUMPTION
#define POWER_CONSUMPTION_PIN 4 // ANALOG NUMBERING
#endif
#if NUM_SERVOS > 0
#define SERVO0_PIN 11
......@@ -1311,6 +1317,9 @@
//Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 // ANALOG NUMBERING
#endif
#ifdef POWER_CONSUMPTION
#define POWER_CONSUMPTION_PIN 4 // ANALOG NUMBERING
#endif
#if NUM_SERVOS > 0
#define SERVO0_PIN 11
......@@ -1510,6 +1519,9 @@
//Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 // ANALOG NUMBERING
#endif
#ifdef POWER_CONSUMPTION
#define POWER_CONSUMPTION_PIN 4 // ANALOG NUMBERING
#endif
#if NUM_SERVOS > 0
#define SERVO0_PIN 11
......@@ -1764,6 +1776,9 @@
//Filip added pin for Filament sensor analog input
#define FILWIDTH_PIN 3
#endif //FILAMENT_SENSOR
#ifdef POWER_CONSUMPTION
#define POWER_CONSUMPTION_PIN -1 // ANALOG NUMBERING
#endif //POWER_CONSUMPTION
#endif // RAMBO
/****************************************************************************************/
......@@ -3511,6 +3526,9 @@
#ifdef FILAMENT_SENSOR
#define FILWIDTH_PIN 2
#endif //FILAMENT_SENSOR
#ifdef POWER_CONSUMPTION
#define POWER_CONSUMPTION_PIN -1 // ANALOG NUMBERING
#endif //POWER_CONSUMPTION
#endif
#define TEMP_1_PIN -1
......@@ -4374,6 +4392,7 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
#error Unknown MOTHERBOARD value in configuration.h
#endif
#ifndef HEATER_1_PIN
#define HEATER_1_PIN -1
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment