ver1

Dependencies:   FEP kinectRX

main.cpp

Committer:
skouki
Date:
2018-08-28
Revision:
2:a21c9bc3e33a
Parent:
1:393502eef76d

File content as of revision 2:a21c9bc3e33a:

#include "mbed.h"
#include "kinectRX.h"

Serial pc(USBTX,USBRX,115200);
KinectRX fep;
int main()
{
    while(1){
        fep.receive_data();
        printf("mode..%d  distance..%d\n\r",fep.get_mode(),fep.get_distance());
    }
}