Will LED Headlight Parameter work without a LED Deck?

Firmware/software/electronics/mechanics
Post Reply
idahogae
Beginner
Posts: 3
Joined: Sat Oct 01, 2016 10:33 pm

Will LED Headlight Parameter work without a LED Deck?

Post by idahogae »

I am trying to do a simple bit toggle on the crazyflie 2 without having to write custom sw/fw

I wanted to use the parameter tab in the client to change the led headlight parameter. My hope being that by changing this parameter I would be able to toggle i/o pin 3 used by the led deck to turn on and off the headlight.

I do not have an LED deck installed

I change the parameter but it does not change the pin value -- always at 3.0 volts when measured with voltmeter -- will the parameter not take effect if there is no deck installed?

Thank you
GE
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Will LED Headlight Parameter work without a LED Deck?

Post by arnaud »

There is a detection mechanism in the Crazyflie that enables deck drivers if a deck is detected. So if you do not have the deck, the driver will not be enabled.

There is a way to force initializing a deck driver, see this wiki page: https://wiki.bitcraze.io/doc:crazyflie: ... mware:deck. You can force the led deck driver ON when compiling the Crazyflie.
Post Reply