-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi,
Has this been tried with a Lepton 3.5 sensor? I have the library working nicely on a Pi 3 Model B with a Lepton 2.5 sensor, but with the 3.5 sensor I just get repeated connect/disconnect messages. The sensor works fine in a PureThermal2 board. This is the quick test code I threw together to illustrate the problem:
LeptonCamera cam;
cam.start();
printf("Dimensions: %dx%d Type: %d\r\n",cam.width(),cam.height(),cam.LeptonVersion());
while(1){
if (cam.hasFrame())
printf("Got frame!!!\r\n");
usleep(1000);
}
This is the output from the Lepton 3.5:
Open SPI port: 0, with address 3
Dimensions: 160x120 Type: 1
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Reboot lepton sensor...
Close SPI port: 0, with address 3
Close I2C port: 1, with address 42
Open I2C port: 1, with address 42
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Close SPI port: 0, with address 3
Open SPI port: 0, with address 3
Reboot lepton sensor...
Close SPI port: 0, with address 3
Close I2C port: 1, with address 42
Any suggestions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels