Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
351 B

  1. #include <stdint.h>
  2. #include <string.h>
  3. #include <stdbool.h>
  4. void LedDriver_Create(uint16_t *address);
  5. void LedDriver_Destroy(void);
  6. void LedDriver_TurnOn(int ledNumber);
  7. void LedDriver_TurnOff(int ledNumber);
  8. void LedDriver_TurnAllOn(void);
  9. void LedDriver_TurnAllOff(void);
  10. bool LedDriver_IsOn(int ledNumber);
  11. bool LedDriver_IsOff(int ledNumber);