From e7f40f795eeac310f2e8e923fe9cc9442c2f3f14 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Wed, 21 Aug 2024 20:12:40 -0700 Subject: [PATCH] Updated the header with the needed function prototypes. --- src/LedController/LedController.h | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/src/LedController/LedController.h b/src/LedController/LedController.h index 8100953..a1ec726 100644 --- a/src/LedController/LedController.h +++ b/src/LedController/LedController.h @@ -11,12 +11,31 @@ #define LEDCONTROLLER -/** - * A function that adds two to a number - * @param a The first argument - */ -int add_two(int a); +#include +/** + * Sets the default PORTB pins for output. + */ +void LedControler_SetPortADefault(void); + +/** + * Sets the default PORTA pins for output. + */ +void LedControler_SetPortBDefault(void); + + +/** + * Allows the setting or changing of which pins represent which bits. + * @param port The address of the port. + * @param pin The pin number for the port. + * @param bit The bit that the pin should represent. + */ +void LedController_SetLedBitNum(void * port, uint8_t pin, uint8_t bit); + +/** + * Displays the byte of data via led pins. + */ +void LedController_ShowByte(uint8_t byte);