Search found 74 matches

by DutchOrange
Mon Aug 02, 2021 6:19 pm
Forum: ESP-MDF
Topic: How to get Node ID when it disconnected.
Replies: 0
Views: 12087

How to get Node ID when it disconnected.

So with my current project I need to get the ID of any node that disconnects in the mesh. I already get the message in the terminal: I (63276) [get_started, 403]: Root send, addr: 24:0a:c4:58:7e:d8, size: 1, data: 1 W (64000) wifi:inactive timer: now=3c23689 last_rx_time=1ed1e3c diff=7816, aid[2]a8:...
by DutchOrange
Sat Jul 31, 2021 4:15 pm
Forum: ESP-IDF
Topic: Serial communication between ESP32 and ESP8266
Replies: 1
Views: 2754

Serial communication between ESP32 and ESP8266

So a small question here:
Iam busy with a project and I need to communicate some data between two devices which is a ESP32 and ESP8266 (The ESP8266 being the receiving one)
How would you print serial data to a specific pin or would you just connect it to the RX / TX pins ?
Thanks.
by DutchOrange
Fri Jul 23, 2021 6:18 pm
Forum: IDEs for ESP-IDF
Topic: What is the Recommended IDE for ESP-IDF ?
Replies: 22
Views: 32856

Re: What is the Recommended IDE for ESP-IDF ?

Thanks for the reply, that was a while ago and I have adapted to coding without the IDE and its been going well. I actually finished the majority of the project but still thanks so much for the reply. Iam surprised I even got a reply from such a old post. Thanks.
by DutchOrange
Wed Jun 30, 2021 5:45 pm
Forum: ESP-IDF
Topic: How to use inoise8_2d
Replies: 0
Views: 1438

How to use inoise8_2d

So I want to control a buzzer using noise.h from Fast Led. This is my code so far: I have not found any examples to understand better. #include "mdf_common.h" #include "mwifi.h" #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <stdio.h> #include <led_strip.h> #include <noise.h> #in...
by DutchOrange
Wed Jun 30, 2021 1:25 pm
Forum: ESP-IDF
Topic: noise is corrected to nice ?
Replies: 2
Views: 2442

Re: noise is corrected to nice ?

Thanks, found out this morning of my stupid mistake,
Corrected it to

Code: Select all

inoise8_2d()
by DutchOrange
Tue Jun 29, 2021 5:53 pm
Forum: ESP-IDF
Topic: noise is corrected to nice ?
Replies: 2
Views: 2442

noise is corrected to nice ?

So I was trying to use the noise function form FastLED. Here is my code This is ESP-IDF 4.2 On a Windows machine #include "mdf_common.h" #include "mwifi.h" #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <stdio.h> #include <led_strip.h> #include <noise.h> void app_main(void) { whi...
by DutchOrange
Mon Jun 28, 2021 5:40 pm
Forum: ESP-IDF
Topic: Error installing FastLED
Replies: 0
Views: 3387

Error installing FastLED

So Iam trying to use the noise function for a buzzer using the FastLed (If you know of an easier way please say) Iam using FastLed from : https://github.com/bbulkow/FastLED-idf This is on: Windows 10 ESP-IDF 4.2 code being used: #include "mdf_common.h" #include "mwifi.h" #include <freertos/FreeRTOS....
by DutchOrange
Sat May 15, 2021 1:22 pm
Forum: ESP-IDF
Topic: Simplest way to get readings from a button ?
Replies: 3
Views: 3211

Re: Simplest way to get readings from a button ?

Here is my code: #include <stdio.h> #include <string.h> #include <stdlib.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "driver/gpio.h" #include <driver/adc.h> #include "esp_adc_cal.h" void app_main(){ while(1){ uint32_t reading = adc1_get_raw(ADC1_...
by DutchOrange
Fri May 14, 2021 7:23 pm
Forum: ESP-IDF
Topic: Simplest way to get readings from a button ?
Replies: 3
Views: 3211

Simplest way to get readings from a button ?

Good day, This is a very basic question but...
I need to get either a 1 or 0 from 3 buttons but I haven't found an easy / simple way to do it. Most clash with the wifi / bl. Any ideas of what should be used for this ?
Thanks
by DutchOrange
Mon Apr 12, 2021 5:29 pm
Forum: ESP-IDF
Topic: #include <color.h> Not found ?
Replies: 0
Views: 1541

#include <color.h> Not found ?

Good day, So I was adding led_strip.h to my project but when I try run it I get the error of: " -DMDF_VER=\"v1.0-129-g4555f06-dirty\" -DESP_PLATFORM -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/led_strip.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\led_strip.c.obj.d -o esp-idf/main/CMakeFiles/...