Ajout fichier compilation
This commit is contained in:
parent
f70cd29467
commit
25d5cfe796
4 changed files with 7 additions and 1 deletions
|
@ -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
3
compile_linux.sh
Normal 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
3
compile_mac.sh
Normal 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
|
Loading…
Reference in a new issue