Turned down heartbeat rate to keep from getting a headache
This commit is contained in:
parent
b81b0f9bcf
commit
e02d1a1a8f
|
@ -3,7 +3,7 @@
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
|
|
||||||
#define HEARTBEAT_GPIO GPIO_NUM_5
|
#define HEARTBEAT_GPIO GPIO_NUM_5
|
||||||
#define HEARTBEAT_PERIOD_MS 250
|
#define HEARTBEAT_PERIOD_MS 1000
|
||||||
|
|
||||||
void heartbeat_task(void *pvParameter)
|
void heartbeat_task(void *pvParameter)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
// ESP components
|
// ESP components
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
|
#include "freertos/task.h"
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
#include "nvs_flash.h"
|
#include "nvs_flash.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue