Fix directory structure for traffic lights
This commit is contained in:
parent
6a74634cbc
commit
ed0ab8e139
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,8 @@
|
||||||
// Created by Gabriel Augendre on 27/04/2021.
|
// Created by Gabriel Augendre on 27/04/2021.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "lib.h"
|
#include <lib.h>
|
||||||
|
#include <Arduino.h>
|
||||||
|
|
||||||
void waitForButton() {
|
void waitForButton() {
|
||||||
while (digitalRead(BUTTON) == HIGH) {}
|
while (digitalRead(BUTTON) == HIGH) {}
|
|
@ -1,5 +1,5 @@
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include "lib.h"
|
#include <lib.h>
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
pinMode(GREEN, OUTPUT);
|
pinMode(GREEN, OUTPUT);
|
||||||
|
|
Loading…
Reference in a new issue