Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Temperature Sensor for Dig uno #727

Merged
merged 3 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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