PI depth control test

Dependencies:   MS5803 mbed Servo

main.cpp

Committer:
sandwich
Date:
2014-08-06
Revision:
1:07e046bbcb84
Parent:
0:df16f9bfc07b

File content as of revision 1:07e046bbcb84:

#include "mbed.h"
#include "IMUDepthControl.h"

DigitalOut myled(LED1);
IMUDepthControl unit(p9,p10, 2.0, 4.0);

int main() {
    unit.setPoint(120.0);
    while(1) {
    }
}