ver1

Dependencies:   FEP kinectRX

main.cpp

Committer:
skouki
Date:
2018-08-28
Revision:
1:393502eef76d
Parent:
0:e89966d8e5d9

File content as of revision 1:393502eef76d:

#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());
    }
}