Search found 387 matches

by mikemoy
Thu Nov 14, 2019 5:56 am
Forum: ESP32 IDF
Topic: How do I measure a pulse width with microsecond precision?
Replies: 1
Views: 26

Re: How do I measure a pulse width with microsecond precision?

This is where I would start. https://github.com/espressif/esp-idf/tree/master/examples/peripherals/mcpwm/mcpwm_basic_config In mcpwm_basic_config_example.c, you will see "static void disp_captured_signal(void *arg)" function. I would pick that apart to lean how it works. Then you should be able to t...
by mikemoy
Tue Nov 12, 2019 3:44 pm
Forum: ESP32 Arduino
Topic: Blocking code to Non-Blocking help.
Replies: 3
Views: 122

Re: Blocking code to Non-Blocking help.

Personally, I would say you could look into using multitasking, and make that function a task.
This should get you started to understand what I am talking about.
https://randomnerdtutorials.com/esp32-d ... duino-ide/
by mikemoy
Sun Nov 10, 2019 5:27 pm
Forum: ESP32 Arduino
Topic: Wifi, Sending out a string to a client...
Replies: 1
Views: 135

Re: Wifi, Sending out a string to a client...

It does not work because you declared
WiFiClient client = server.available(); // listen for incoming clients
inside loop()

If you want it to work the way you suggested your going to make "WiFiClient client" a global variable. Or pass it to the function your calling.
by mikemoy
Tue Nov 05, 2019 3:21 am
Forum: General Discussion
Topic: Esp32 wroom only boots up when toggeling EN
Replies: 2
Views: 126

Re: Esp32 wroom only boots up when toggeling EN

Without a schematic of what you have there is not much we can help.
by mikemoy
Tue Nov 05, 2019 3:14 am
Forum: General Discussion
Topic: ESP32 OTA Update issue
Replies: 5
Views: 328

Re: ESP32 OTA Update issue

Well the way i have decided to do this is to keep a list of all tasks running using xTaskList[]. Every task that get started I add it to xTaskList[], this way when the OTA is triggered i call KillAllThreads() to stop every thread running so OTA can have all the resources. xTaskHandle TaskHandle_Idle...
by mikemoy
Mon Nov 04, 2019 9:38 pm
Forum: General Discussion
Topic: Good looking display
Replies: 2
Views: 226

Re: Good looking display

We have used many different LCD's from this company for over 5 years now. Great service & LCD's.
https://www.buydisplay.com/default/tft-display
by mikemoy
Fri Nov 01, 2019 1:59 am
Forum: ESP32 IDF
Topic: I2C not working due to the incorrect voltage level
Replies: 2
Views: 145

Re: I2C not working due to the incorrect voltage level

What pins are you using for SCL and SDA ?
by mikemoy
Fri Oct 25, 2019 10:52 am
Forum: ESP32 IDF
Topic: I2C forbidded address
Replies: 12
Views: 473

Re: I2C forbidded address

It is nice to know the spec and follow it unless you have a decent reason not to. The spec is pointless if the manuf. does not obey it. It all comes down the what is said in the data sheet, not the spec. And it is reasonable that an i2c scanner code would skip reserved addresses. "reserved addresse...
by mikemoy
Fri Oct 25, 2019 1:53 am
Forum: ESP32 IDF
Topic: I2C forbidded address
Replies: 12
Views: 473

Re: I2C forbidded address

Valid slave addresses are greater than 0x07 and less than 0x78. https://www.totalphase.com/support/articles/200349176-7-bit-8-bit-and-10-bit-I2C-Slave-Addressing#reserved It also states "The goal of this article is to clarify the slave address standard used by all Total Phase products and to help d...
by mikemoy
Thu Oct 24, 2019 6:15 pm
Forum: ESP32 IDF
Topic: I2C forbidded address
Replies: 12
Views: 473

Re: I2C forbidded address

Take a look at this: https://static5.arrow.com/pdfs/2010/3/16/14/12/33/106/cyp_/auto/docid20231.pdf Page 13, "All the devices are shipped from the factory with the default I2C address of 000 0000b." So to get back to the primary question: is there a reason for avoiding those three addresses: 0x00, ...

Go to advanced search