You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running 0.7.0-rc12 cd34d89 on a esp32-s3-4848s040_16MB (Guition ESP32-S3-4848S040ESP32-S3-4848S040 | 16 MB16 MB | ST7701S | GT911)
When i hook up and configure the output pins 1,2 and 40 as relay nthing happens, no clicking nothings.
wheni run another native firmware that comes from china.. the relays klik
even some quick code to test the relays directly i hear the clicks..
`#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/gpio.h"
#include "esp_log.h"
#define TAG "GPIO_SCANNER"
void app_main(void) {
int pins_to_test[] = {
1, 2, 40
};
int num_pins = sizeof(pins_to_test) / sizeof(pins_to_test[0]);
ESP_LOGI(TAG, "Starting safe GPIO test...");
for (int i = 0; ; i = (i + 1) % num_pins) {
int pin = pins_to_test[i];
ESP_LOGI(TAG, "Toggling GPIO %d (LOW -> HIGH)", pin);
gpio_reset_pin(pin);
gpio_set_direction(pin, GPIO_MODE_OUTPUT);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am running 0.7.0-rc12 cd34d89 on a esp32-s3-4848s040_16MB (Guition ESP32-S3-4848S040ESP32-S3-4848S040 | 16 MB16 MB | ST7701S | GT911)
When i hook up and configure the output pins 1,2 and 40 as relay nthing happens, no clicking nothings.
wheni run another native firmware that comes from china.. the relays klik
even some quick code to test the relays directly i hear the clicks..
`#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/gpio.h"
#include "esp_log.h"
#define TAG "GPIO_SCANNER"
void app_main(void) {
int pins_to_test[] = {
1, 2, 40
};
int num_pins = sizeof(pins_to_test) / sizeof(pins_to_test[0]);
ESP_LOGI(TAG, "Starting safe GPIO test...");
for (int i = 0; ; i = (i + 1) % num_pins) {
int pin = pins_to_test[i];
ESP_LOGI(TAG, "Toggling GPIO %d (LOW -> HIGH)", pin);
gpio_reset_pin(pin);
gpio_set_direction(pin, GPIO_MODE_OUTPUT);
}`
i tried to configure the pins in the web interface as output, power relay or light swtch inverted noting..
on the serial i cannot enter gpio1 =1
i am stuck any help is highly appreciated
Beta Was this translation helpful? Give feedback.
All reactions