Search found 184 matches
- Sat Aug 24, 2019 1:39 pm
- Forum: ESP32 Arduino
- Topic: Storing 3D array in memory
- Replies: 3
- Views: 5152
Re: Storing 3D array in memory
"It doesn't work" is not much to go on. So if offer a method I have used to store, retrive and manage my own 2, 3, 4, 5 ... dimensional tables stored in memory or disk or ... . A more experienced C programmer will maybe make it easier; first: int *myInt then: function int fetchMyInt(int x, int y, in...
- Sat Jun 01, 2019 9:45 pm
- Forum: General Discussion
- Topic: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
- Replies: 7
- Views: 19779
Re: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
If you have an oscilloscope take a look. If not, draw a trace with bounce when first pressed, then stable, then bounce when released. Draw two traces. a long press and a short press. bounce bounce bounce stable0 stable0 stable0 bounce bounce bounce stable1 stable1 ... ............................^ g...
- Sat May 04, 2019 1:55 pm
- Forum: ESP-IDF
- Topic: #define accesible at specific location in flash?
- Replies: 2
- Views: 4328
Re: #define accesible at specific location in flash?
It sounds like you may need to study the preprocessor and how that works. In short: #define does not directly put anything in memory; You can use it to do that and a lot more. I recommend that you study a little.
- Tue Apr 02, 2019 1:13 am
- Forum: General Discussion
- Topic: C compiler for ULP
- Replies: 3
- Views: 5902
Re: C compiler for ULP
thanks now i can use the ULP without so much pain.
- Sun Mar 17, 2019 12:40 am
- Forum: ESP-IDF
- Topic: Interrupts triggered multiple times when pins are touched
- Replies: 5
- Views: 9046
Re: Interrupts triggered multiple times when pins are touched
Pulling it up will make it clearly High as compared to "Floating high" . But, if you have a switch on that pin (andit is pulled high) twhen closed will make it low (pin to switch to ground) when you make that switch the signal will bounce and finally settle at low. You need to debounce in software; ...
- Sat Mar 16, 2019 12:39 am
- Forum: ESP-IDF
- Topic: Interrupts triggered multiple times when pins are touched
- Replies: 5
- Views: 9046
Re: Interrupts triggered multiple times when pins are touched
Do you have a bounce problem? Have you looked at it on a scope? Are you debouncing?
- Sat Dec 15, 2018 11:51 pm
- Forum: ESP IoT Solution
- Topic: trying to send buffer data to node-red through mqtt
- Replies: 4
- Views: 8676
Re: trying to send buffer data to node-red through mqtt
So you are not using an mqtt broker. If so, install and use an mqtt broker.
- Tue Dec 11, 2018 12:23 pm
- Forum: ESP IoT Solution
- Topic: trying to send buffer data to node-red through mqtt
- Replies: 4
- Views: 8676
Re: trying to send buffer data to node-red through mqtt
It is not clear what the problem is. What did you observe?
For more completer info:
Start MQTT Broker in verbose
Subscribe to all messages (#) with subscribe tool
For more completer info:
Start MQTT Broker in verbose
Subscribe to all messages (#) with subscribe tool
- Fri Nov 16, 2018 9:53 pm
- Forum: ESP-IDF
- Topic: [SOLVED] Severe Limitation to APSTA Mode
- Replies: 7
- Views: 11840
Re: Severe Limitation to APSTA Mode
Using the esp32/Arduino for a very similar task I found the components to be "fragile" and broke them a lot. I used the STA to connect for MQTT and AP for serving a web page for configuration. One thing that I found helpful was to capture all of the events and print them to serial. You may get more ...
Re: IO output
I believe that the internal pull-ups *can* be activated by code but I don't think by default are they activated. In your case it sounded like high was what caused the sound generator because:!===> without a signal from the processor they "float" and to the sound driver they appear high. So, the solu...