4180 Lab 2
Dependencies: mbed wave_player Servo 4DGL-uLCD-SE Motor SDFileSystem LSM9DS1_Library_cal PinDetect X_NUCLEO_53L0A1
part9.h
- Committer:
- emilywilson
- Date:
- 2020-02-04
- Revision:
- 2:de355b6fbd87
- Parent:
- 1:6d8f645530b8
File content as of revision 2:de355b6fbd87:
#include "mbed.h"
#include "Servo.h"
Servo servo(p9);
AnalogIn pot(p9);
int run_part9() {
while (1) {
servo = pot;
wait(0.2);
}
}