buat jaswin
Dependencies:
Motor
encoderKRAI
mbed
millis
main.cpp
- Committer:
- sarlilouis
- Date:
- 2018-11-05
- Revision:
- 0:417af40e0c3c
File content as of revision 0:417af40e0c3c:
#include "mbed.h"
#include "Motor.h"
#define TS 12.5
Motor motor1(PB_4, PA_12, PA_11);
int main(){
while(1){
motor1.speed(0.3);
}
}