ver1

Dependencies:   FEP kinectRX

Committer:
skouki
Date:
Tue Aug 28 05:07:32 2018 +0000
Revision:
2:a21c9bc3e33a
Parent:
1:393502eef76d
????????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
skouki 0:e89966d8e5d9 1 #include "mbed.h"
skouki 1:393502eef76d 2 #include "kinectRX.h"
skouki 0:e89966d8e5d9 3
skouki 0:e89966d8e5d9 4 Serial pc(USBTX,USBRX,115200);
skouki 1:393502eef76d 5 KinectRX fep;
skouki 0:e89966d8e5d9 6 int main()
skouki 0:e89966d8e5d9 7 {
skouki 1:393502eef76d 8 while(1){
skouki 1:393502eef76d 9 fep.receive_data();
skouki 1:393502eef76d 10 printf("mode..%d distance..%d\n\r",fep.get_mode(),fep.get_distance());
skouki 0:e89966d8e5d9 11 }
skouki 0:e89966d8e5d9 12 }