example for for using the flir lepton on the stm32nucleo_401re
Dependencies: mbed
Diff: main.cpp
- Revision:
- 2:5daa51a2ce48
- Parent:
- 1:dd6a90cf2191
- Child:
- 3:c8b4b823b01c
--- a/main.cpp Thu Sep 18 13:24:50 2014 +0000 +++ b/main.cpp Thu Sep 18 13:25:15 2014 +0000 @@ -8,29 +8,6 @@ uint8_t lepton_frame_packet[VOSPI_FRAME_SIZE]; int lepton_image[80][80]; -static void print_image_binary(void) -{ - int i; - int j; - - pc.putc(0xDE); - pc.putc(0xAD); - pc.putc(0xBE); - pc.putc(0xEF); - - for(i=0;i<60;i++) - { - for(j=0;j<80;j++) - { - while(pc.writeable() == 0); - pc.putc((lepton_image[i][j]>>8)&0xff); - while(pc.writeable() == 0); - pc.putc(lepton_image[i][j]&0xff); - //wait_us(1); - } - } -} - int print_image_binary_state =-1; int print_image_binary_i;