MCPcopy Create free account
hub / github.com/ArduPilot/ArduRemoteID / init

Method init

RemoteIDModule/led.cpp:7–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5Led led;
6
7void Led::init(void)
8{
9 if (done_init) {
10 return;
11 }
12 done_init = true;
13#ifdef PIN_STATUS_LED
14 pinMode(PIN_STATUS_LED, OUTPUT);
15#endif
16#ifdef WS2812_LED_PIN
17 pinMode(WS2812_LED_PIN, OUTPUT);
18 ledStrip.begin();
19#endif
20}
21
22void Led::update(void)
23{

Calls

no outgoing calls

Tested by

no test coverage detected