16 lines
234 B
C
16 lines
234 B
C
#include "stm32f10x.h"
|
|
#include "servo.h"
|
|
#include "motoreducteur.h"
|
|
|
|
int main (void)
|
|
{
|
|
MyServo_Init();
|
|
MyServo_ChangeAngle(179);
|
|
MyMotor_Init();
|
|
|
|
MyMotor_ChangeSpeed(2000);
|
|
MyMotor_ChangeDirection(HORAIRE);
|
|
|
|
|
|
while(1){};
|
|
}
|