Prusa MINI Firmware overview
solenoid.h
Go to the documentation of this file.
1 /**
2  * Marlin 3D Printer Firmware
3  * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4  *
5  * Based on Sprinter and grbl.
6  * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 #pragma once
23 
26 void enable_solenoid(const uint8_t num);
27 void disable_solenoid(const uint8_t num);
enable_solenoid
void enable_solenoid(const uint8_t num)
Definition: solenoid.cpp:75
enable_solenoid_on_active_extruder
void enable_solenoid_on_active_extruder()
Definition: solenoid.cpp:77
MSG_INVALID_SOLENOID
#define MSG_INVALID_SOLENOID
Definition: language.h:170
OUT_WRITE
#define OUT_WRITE(IO, V)
Definition: fastio.h:108
LOW
#define LOW
Definition: wiring_constants.h:70
solenoid.h
disable_solenoid
void disable_solenoid(const uint8_t num)
Definition: solenoid.cpp:76
disable_all_solenoids
void disable_all_solenoids()
Definition: solenoid.cpp:79
SOL1_PIN
#define SOL1_PIN
Definition: pins_LEAPFROG.h:89
SERIAL_ECHO_MSG
#define SERIAL_ECHO_MSG(S)
Definition: serial.h:183
enable_solenoid_on_active_extruder
void enable_solenoid_on_active_extruder()
Definition: solenoid.cpp:77
uint8_t
const uint8_t[]
Definition: 404_html.c:3
HIGH
#define HIGH
Definition: wiring_constants.h:71
SOL2_PIN
#define SOL2_PIN
Definition: pins_LEAPFROG.h:90
disable_all_solenoids
void disable_all_solenoids()
Definition: solenoid.cpp:79
enable_solenoid
void enable_solenoid(const uint8_t num)
Definition: solenoid.cpp:75
set_solenoid
static void set_solenoid(const uint8_t num, const bool active)
Definition: solenoid.cpp:38
active_extruder
constexpr uint8_t active_extruder
Definition: motion.h:107
disable_solenoid
void disable_solenoid(const uint8_t num)
Definition: solenoid.cpp:76