Skip to content

FlyingRC F4wing Add LED support #11495

@Leander-Vh

Description

@Leander-Vh

Nice to see some activity for this board. I've made a hop to fixed wing after a few years of quadcopters and this is a great value (and size/weight) board for sub 250 builds.

One thing I couldn't get working was the LEDs.

Ended up adding this to the target.h
// *************** LEDSTRIP ************************
#define USE_LED_STRIP
#define WS2811_PIN PB1

and changing TIM_USE_OUTPUT_AUTO to TIM_USE_LED in the target.c file.
DEF_TIM(TIM3, CH4, PB1, TIM_USE_LED, 0, 0), // 2812LED D(1,2,5)

Then the leds started working.

Would be great to see that in the release.

Originally posted by @3sr3v3r in #11009

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