iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.09k stars 1.46k forks source link

LED strip control not working in inav_1.7.1_OMNIBUSF4V3-1 #1803

Closed Key0nee closed 7 years ago

Key0nee commented 7 years ago

Hello, I have been testing inav_1.7.1_OMNIBUSF4V3-1 obtained Here LED strip control does not appear to be working.. I have tested the same board in the exact setup with Cleanflight v2.0.2 for OMNIBUSF4SD target and it works fine.

flounderscore commented 7 years ago

In iNav the led strip needs to be connected to PWM5 (see https://github.com/iNavFlight/inav/blob/master/docs/Board%20-%20Omnibus%20F4.md ).

On Sun, Jun 18, 2017 at 11:14 AM, Key0nee notifications@github.com wrote:

Hello, I have been testing inav_1.7.1_OMNIBUSF4V3-1 obtained Here https://github.com/iNavFlight/inav/pull/1779 LED strip control does not appear to be working.. I have tested the same board in the exact setup with Cleanflight v2.0.2 for OMNIBUSF4SD target and it works fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/1803, or mute the thread https://github.com/notifications/unsubscribe-auth/ANiDSdP0heLrCAE3WikR3OGe4rEPWyfyks5sFT7BgaJpZM4N9hYc .

Key0nee commented 7 years ago

Copy that...

Thanks..

jflyper commented 7 years ago

FYI, F4 V3 (and some variants) has PB6 connected to the designated LED strip signal pin.

Ref: https://github.com/betaflight/betaflight/wiki/Board---OMNIBUSF4#v317-and-later-led-strip-pin-assignment-has-changed-for-omnibusf4sd-target

Key0nee commented 7 years ago

@jflyper I have it working for the most part on PWM 5 output but I have noticed that assigning an led color for battery condition doesn't change regardless of battery level.. Also Is there a method for changing the color assignments for modes