Senior design censored code to run freescale motor with X-NUCLEO-IM07M1. REFACTORED

Dependencies:   mbed

Fork of Blue_Board_Test_2 by Brad VanderWilp

SixStep_Lib.cpp

Committer:
vicyap
Date:
2016-04-07
Revision:
6:f9aca07dbdb4

File content as of revision 6:f9aca07dbdb4:

#include "SixStep_Lib.h"

void SixStep::Enable_CH1_CH2_Disable_CH3(DigitalOut& ch1, DigitalOut& ch2, DigitalOut& ch3)
{
    ch1 = 1;
    ch2 = 1;
    ch3 = 0;
}

void SixStep::Disable_CH1_CH2_CH3(DigitalOut& ch1, DigitalOut& ch2, DigitalOut& ch3)
{
    ch1 = 0; 
    ch2 = 0;
    ch3 = 0;   
}