Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Project startup TM4C123.s GPIO.c Target 1 Source Group 1 #define LEDS (*((volati

ID: 2268127 • Letter: P

Question

Project startup TM4C123.s GPIO.c Target 1 Source Group 1 #define LEDS (*((volatile uint32_t *)0x4000703C)) 2 #include startup-TM4C123.5 GPIO.c 5 6 void | GPIO-Init (void) { SYSCTLRCCCCDIO-RI=0x20; GPIO PORTF_DIRR -0x06i 10 GPIO-PORTE-DEN-R 0x06; 12 13 14 int 15 16 17 (void) { main GPIO Inito while(1) GPIO PORTE DATA R 0x06: eah (1000000) 18 19 20 21 22 int delayi (int num) { 23 24 while (num >= 0) { num di 261} 2 27 20 29 recurn 0 Build Output PIO.C: 2 warnings, 1 error .Test.axt" -1 Error(s), 2 Warning(s). Target not created Stellaris ICDI L:22 C:1 CAP NUM SCRL OVR Rw

Explanation / Answer

remove return 0 and 1 after num-- . These are syntax errors and one needs to be acquainted with it