From 9bebf5f393bbfd51489b4c4e65a066e47e623f1e Mon Sep 17 00:00:00 2001 From: Omar Magdy Date: Tue, 23 Aug 2022 23:43:02 +0200 Subject: Added Traffic_Handler function to apply DRY principle --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index c9c115b..1da8860 100644 --- a/main.c +++ b/main.c @@ -13,4 +13,6 @@ Traffic tf_ped = {RED , GPIO_PORTB_BASE, 5, 4, 1}; int main() { TrafficInit(); + // PortInit(GPIO_PORTA_BASE, SYSCTL_PERIPH_GPIOA, 0x0, 0xFF); // Initialize porta + // GPIOPinWrite(GPIO_PORTA_BASE, 0xFF, 2); } -- cgit v1.2.3