EDU Arduino API
Data Fields
ketCube_Arduino_API_t::LED Struct Reference

KETCube Arduino LED Driver API. More...

Data Fields

LED_init_t init
 Configures the specified pin as the LED driver. More...
 
LED_set_t set
 Configures the LED function. More...
 

Detailed Description

KETCube Arduino LED Driver API.

Field Documentation

◆ init

LED_init_t ketCube_Arduino_API_t::LED::init

Configures the specified pin as the LED driver.

Parameters
pindigital PIN, ketCube_Arduino_pin_t
polarityvalue to turn LED ON ketCube_Arduino_pinValue_t

◆ set

LED_set_t ketCube_Arduino_API_t::LED::set

Configures the LED function.

Parameters
pindigital PIN, ketCube_Arduino_pin_t
LEDFunctionLED blink function ketCube_Arduino_ledFunction_t