Skip to content

Commit

Permalink
added ios
Browse files Browse the repository at this point in the history
  • Loading branch information
Nauman3S committed Nov 18, 2021
1 parent 9cbd246 commit 554d895
Show file tree
Hide file tree
Showing 76 changed files with 1,578 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Firmware/BMEHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ Adafruit_Sensor *bme_temp = bme.getTemperatureSensor();
Adafruit_Sensor *bme_pressure = bme.getPressureSensor();
Adafruit_Sensor *bme_humidity = bme.getHumiditySensor();
uint8_t bmeConnected = 0;
int retryCount=0;
void setupBME280()
{

Serial.println(F("BME280 Sensor event test"));

if (!bme.begin())
{
while (!bme.begin())
{ retryCount++;
if(retryCount>=20){
break;
}
Serial.println(F("Could not find a valid BME280 sensor, check wiring and restart!"));
bmeConnected = 0;
}
Expand Down
Binary file added Questions3.pdf
Binary file not shown.
9 changes: 9 additions & 0 deletions SmartphoneApp/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
App/build
App/Pods
App/Podfile.lock
App/App/public
DerivedData
xcuserdata

# Cordova plugins for Capacitor
capacitor-cordova-ios-plugins
Loading

0 comments on commit 554d895

Please sign in to comment.