This is a program to drive a stepper servomotor from SerialUSB without any other interrution but the serial one.

Dependencies:   mbed

config.h

Committer:
Yo_Robot
Date:
2012-04-09
Revision:
0:da3eb35a2787

File content as of revision 0:da3eb35a2787:


#ifndef SETUP_H
#define SETUP_H

#include "mbed.h"

/**@brief
 *
 */
void Setup_PTO_Timer2();



void ISR_Serial();



void setPrescaler( int newValue );



void setMR2( int newValue );



void setMR3( int newValue );



void stopTimer2();



void startTimer2();



void setPhaseAB();


void setPhaseBA();

#endif