Search found 4 matches

by malaugh
Wed Dec 15, 2021 8:07 pm
Forum: ESP-IDF
Topic: SPI master driver time between transactions
Replies: 2
Views: 3834

Re: SPI master driver time between transactions

Did anyone find a solution for this. I am having the same problem. I am implementing an LCD driver Below is a section of the code. When I use the functions Lcd_Cmd or Lcd_Data, the SPI transaction is fast, but there is a 15mS delay before the function completes and returns. Any ideas on how to speed...
by malaugh
Wed Feb 27, 2019 5:30 pm
Forum: General Discussion
Topic: GPIO16 issue of ESP WROOM32
Replies: 13
Views: 16420

Re: GPIO16 issue of ESP WROOM32

You may want to change your code to debounce the switch. Rather than just using the interrupt when the switch closes to trigger the action, use the interrupt to start a timer, sample the switch say every 10mS, and only trigger the action if the switch sample is low for say 3 samples in a row. This p...
by malaugh
Mon Sep 24, 2018 2:29 pm
Forum: General Discussion
Topic: api-reference HTTP SERVER help
Replies: 5
Views: 14790

Re: api-reference HTTP SERVER help

All you need to do is use httpd_resp_send to send the web page. If for example you have a web page with the filename upload.html, then you can convert this to an C file that can be included in the code with xxd -i upload.html web_upload.h then you can display this web page by first declaring a struc...
by malaugh
Thu Aug 30, 2018 3:28 pm
Forum: ESP-IDF
Topic: http_server filesystem handler example?
Replies: 2
Views: 10500

Re: http_server filesystem handler example?

I am assuming you are talking about serving web pages. I have something similar it serves up web pages stored in program memory, added as header files. Her are som code snippets // include your web page a header file #include "web_index.h" // code to pass character pointer and size of web page typed...