Page 1 of 1

Will LED Headlight Parameter work without a LED Deck?

Posted: Fri Oct 21, 2016 11:46 pm
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

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

Posted: Mon Oct 24, 2016 8:07 am
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.