Ajout fichier compilation

This commit is contained in:
Cameron Bray 2020-05-16 17:18:04 +02:00
parent f70cd29467
commit 25d5cfe796
4 changed files with 7 additions and 1 deletions

View file

@ -14,7 +14,7 @@ int ExternalDigitalSensorButton::getState(){
}
void ExternalDigitalSensorButton::setState() {
if (ifstream("D:\\Documents\\Etudes\\INSA\\4A\\C++\\Projet_VictorAvecUnK\\src\\on.txt")){
if (ifstream("D:\\Documents\\Etudes\\INSA\\4A\\BECpp\\Projet_VictorAvecUnK\\src\\on.txt")){
state = HIGH;
} else {
state = LOW;

3
compile_linux.sh Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/bash
echo "g++ -Wall -std=c++11 -lpthread board.cpp core_simulation.cpp mydevices.cpp sketch_ino.cpp -o arduino"
g++ -Wall -pthread board.cpp core_simulation.cpp mydevices.cpp sketch_ino.cpp -o arduino

3
compile_mac.sh Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/bash
echo "g++ -Wall -std=c++11 board.cpp core_simulation.cpp mydevices.cpp sketch_ino.cpp -o arduino"
g++ -Wall -std=c++11 board.cpp core_simulation.cpp mydevices.cpp sketch_ino.cpp -o arduino

View file