Skip to content
Snippets Groups Projects
Commit dfda179e authored by Luca Conterio's avatar Luca Conterio
Browse files

[DeathStackX] Updated cutter pwm pin to be an output pin

parent 16a3ed12
Branches
No related tags found
No related merge requests found
......@@ -387,8 +387,9 @@ void IRQbspInit()
expulsion_in::mode(Mode::INPUT);
using namespace actuators;
nosecone::th_cut_pwm::mode(Mode::ALTERNATE);
nosecone::th_cut_pwm::alternateFunction(3);
//nosecone::th_cut_pwm::mode(Mode::ALTERNATE);
//nosecone::th_cut_pwm::alternateFunction(3);
nosecone::th_cut_input::mode(Mode::OUTPUT);
nosecone::thCut1::ena::mode(Mode::OUTPUT);
nosecone::thCut1::ena::low();
......
......@@ -123,7 +123,8 @@ namespace actuators
namespace nosecone
{
using nc_servo_pwm = Gpio<GPIOD_BASE, 12>; // Pwm expulsion servo, TIM4_CH1
using th_cut_pwm = Gpio<GPIOE_BASE, 6>; // Pwm thermal cutters, TIM9_CH2
// using th_cut_pwm = Gpio<GPIOE_BASE, 6>; // Pwm thermal cutters, TIM9_CH2
using th_cut_input = Gpio<GPIOE_BASE, 6>; // Input thermal cutters
namespace thCut1
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment