Lepton sensor on the DISCO-F746NG board. Based on the rapberry_pi example code at https://github.com/groupgets/LeptonModule

Dependencies:   mbed-src BSP_DISCO_F746NG LCD_DISCO_F746NG

Committer:
Patrik Ryd
Date:
Wed Dec 09 10:32:36 2015 +0100
Revision:
1:fcfdd41f22a7
Parent:
0:291e05a4e8e9
Child:
2:a0eb7bff9571
A small change to get to know hg

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pryd 0:291e05a4e8e9 1 #include "mbed.h"
pryd 0:291e05a4e8e9 2
pryd 0:291e05a4e8e9 3 #define LEPTON_FRAME_SIZE (164)
pryd 0:291e05a4e8e9 4
pryd 0:291e05a4e8e9 5 Serial pc(USBTX, USBRX);
pryd 0:291e05a4e8e9 6 SPI lepton_spi(SPI_MOSI, SPI_MISO, SPI_SCK);
pryd 0:291e05a4e8e9 7 DigitalOut spi_cs(SPI_CS);
pryd 0:291e05a4e8e9 8
Patrik Ryd 1:fcfdd41f22a7 9 static uint8_t lepton_frame[VOSPI_FRAME_SIZE];
Patrik Ryd 1:fcfdd41f22a7 10 static uint16_t lepton_image[80][80];
pryd 0:291e05a4e8e9 11
pryd 0:291e05a4e8e9 12 int main()
pryd 0:291e05a4e8e9 13 {
pryd 0:291e05a4e8e9 14 pc.printf("Alive\n");
pryd 0:291e05a4e8e9 15
pryd 0:291e05a4e8e9 16 }