Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Unable to compile - and bug in FLIR setting? #1

@JimDrewGH

Description

@JimDrewGH

I have tried v1.8.2 and v1.8.13 of the Arduino IDE, used the latest version of the M5StickC library (pulled by the Arduino IDE's get library function), as well as downloading the latest code from here. I followed the instructions for replacing the various files that are required. I always end up with errors, that vary depending on the version of Arduino and mix and match of library files. Have you tried compiling this lately under the Arduino IDE? I should note that I can successfully load and compile any of the "examples" that were installed with the M5StickC library. It's just this project that won't compile.

I have a lot of experience with the FLIR modules, having created a tracking system with them using dsPIC parts in the past. I was considering moving to the ESP32 so I could add wireless support (I already have composite video output, which is a requirement of my project). Going through your code I noticed that you attempt to setup VSYNC and delay the phase of lines. You really don't need to delay the lines as the ESP32 should be fast enough.

lepton.doSetCommand(0x4854, &SYNC, 1);
lepton.doSetCommand(0x4858, &DELAY, 1);

Do these add 1 to the command (0x4854 and 0x4858) to make these SET instead of GET? 0x4855 is the SET command for the GPIO mode select, and 0x4859 is SET command for the phase delay.

I have all of the M5 stuff... nifty stuff!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions