• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Flight Core LEDs

    Flight Core
    2
    3
    288
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Andrew Keefe
      last edited by 17 Feb 2021, 01:44

      Is there documentation somewhere on how to manually control the LEDs on the flightcore?

      1 Reply Last reply Reply Quote 0
      • M
        modaltb ModalAI Team
        last edited by modaltb 17 Feb 2021, 03:51 17 Feb 2021, 01:54

        Hi Andrew,

        Here's an example that we use to go through the LEDs during board testing, this isn't exposed really but if you want to modify code here's how to toggle them:

        https://github.com/modalai/px4-firmware/blob/modalai-1.11/src/systemcmds/modalai/modalai.c#L251

        Let me know if you need anything else!

        -Travis

        A 1 Reply Last reply 22 Feb 2021, 17:15 Reply Quote 0
        • A
          Andrew Keefe @modaltb
          last edited by 22 Feb 2021, 17:15

          Thank you @modaltb. I was able to control the LED with my code (yellow = waiting for serial, blue = data valid, red = data not valid).

          1 Reply Last reply Reply Quote 0
          1 out of 3
          • First post
            1/3
            Last post
          Powered by NodeBB | Contributors