Skip to content
Snippets Groups Projects
Commit fc0ff570 authored by ma1u20's avatar ma1u20
Browse files

Replace trafficLightTodo.c

parent 2cf36778
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
#include "pico/stdlib.h"
#include "hardware/gpio.h"
//find the pin that you used for the Led
#define RED_LED_PIN
#define AMBER_LED_PIN
#define GREEN_LED_PIN
int main() {
stdio_init_all();
// Initialize GPIO pins inside the main
// use loops to cycle through the traffic light
//hint to turn on light use sleep_ms()
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment