Skip to content

Commit

Permalink
Merge pull request #727 from MartinMueller2003/main
Browse files Browse the repository at this point in the history
Added Temperature Sensor for Dig uno
  • Loading branch information
forkineye authored Jan 15, 2024
2 parents ff2dccd + 12cc8d4 commit 5301e20
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 15 deletions.
20 changes: 9 additions & 11 deletions ESPixelStick/src/network/WiFiDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -956,20 +956,18 @@ void fsm_WiFi_state_ConnectionFailed::Init ()
pWiFiDriver->SetIsWiFiConnected (false);
NetworkMgr.SetWiFiIsConnected (false);
}

if (true == pWiFiDriver->Get_RebootOnWiFiFailureToConnect())
{
logcon (F ("WiFi Requesting Reboot"));
RequestReboot(100000);
}
else
{
if (true == pWiFiDriver->Get_RebootOnWiFiFailureToConnect())
{
logcon (F ("WiFi Requesting Reboot"));
RequestReboot(100000);
}
else
{
// DEBUG_V ("WiFi Reboot Disabled.");
// DEBUG_V ("WiFi Reboot Disabled. Try Again");

// start over
fsm_WiFi_state_Boot_imp.Init ();
}
// start over
fsm_WiFi_state_Boot_imp.Init ();
}

// DEBUG_END;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

// Temperature Sensor
#define SUPPORT_SENSOR_DS18B20
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_13
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_18

// Output Types
// Not Finished - #define SUPPORT_OutputType_TLS3001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

// Temperature Sensor
#define SUPPORT_SENSOR_DS18B20
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_13
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_18

// Output Types
// Not Finished - #define SUPPORT_OutputType_TLS3001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

// Temperature Sensor
#define SUPPORT_SENSOR_DS18B20
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_13
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_18

// Output Types
// Not Finished - #define SUPPORT_OutputType_TLS3001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

// Temperature Sensor
#define SUPPORT_SENSOR_DS18B20
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_13
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_18

#include <ETH.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_18
#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_5

// Temperature Sensor
#define SUPPORT_SENSOR_DS18B20
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_13

// Output Types
// Not Finished - #define SUPPORT_OutputType_TLS3001
// #define SUPPORT_OutputType_APA102 // SPI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
#define DEFAULT_I2C_SDA gpio_num_t::GPIO_NUM_2
#define DEFAULT_I2C_SCL gpio_num_t::GPIO_NUM_32

// Temperature Sensor
#define SUPPORT_SENSOR_DS18B20
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_13

// File Manager
#define SUPPORT_SD
#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_18
#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_5

// Temperature Sensor
#define SUPPORT_SENSOR_DS18B20
#define ONEWIRE_PIN gpio_num_t::GPIO_NUM_13

#include <ETH.h>

/*
Expand Down

0 comments on commit 5301e20

Please sign in to comment.