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

main.cpp

Committer:
Patrik Ryd
Date:
2015-12-09
Revision:
1:fcfdd41f22a7
Parent:
0:291e05a4e8e9
Child:
2:a0eb7bff9571

File content as of revision 1:fcfdd41f22a7:

#include "mbed.h"

#define LEPTON_FRAME_SIZE (164)

Serial pc(USBTX, USBRX);
SPI lepton_spi(SPI_MOSI, SPI_MISO, SPI_SCK);
DigitalOut spi_cs(SPI_CS);

static uint8_t lepton_frame[VOSPI_FRAME_SIZE];
static uint16_t lepton_image[80][80];

int main()
{
    pc.printf("Alive\n");
 
}