changed function signiture for show byte

Added a parameter to the show byte function signiture in the header and
source file.
This commit is contained in:
Jake Goodwin 2024-08-25 06:25:32 -07:00
parent 33e75b2e6a
commit afebedb36a
2 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,7 @@ LedByte LedController_New(uint8_t *port)
return led_byte;
}
void LedController_ShowByte(LedByte *led_byte)
void LedController_ShowByte(LedByte *led_byte, uint8_t byte)
{
}

View File

@ -26,7 +26,7 @@ typedef struct Led
typedef struct LedByte
{
Led leds[8];
} LedByte;
}LedByte;
/**
* Returns a instance of the LedByte structure.
@ -36,7 +36,8 @@ LedByte LedController_New(uint8_t *port);
/**
* Displays the byte of data via led pins.
*/
void LedController_ShowByte(LedByte *led_byte);
void LedController_ShowByte(LedByte *led_byte, uint8_t byte);
/**
* Clears out the byte led representation