Browse Source

Ajout fichier compilation

Cameron Bray 3 years ago
parent
commit
25d5cfe796

+ 1
- 1
OtherDevices/DigitalDevices/DigitalSensors/ExternalDigitalSensorButton.cpp View File

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

+ 3
- 0
compile_linux.sh View File

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

+ 3
- 0
compile_mac.sh View File

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

on.txt → on.txt.txt View File


Loading…
Cancel
Save