Hello,
I intend to use any port for meassuring of voltage.
But in the pin diagram do the ports have 2 or 3 descriptions (port 12: touch- ADC 15 - GPIO15).
How have I to define that port 12 should be analog input?
Is there a description how to do so?
Thanks
regards
aabbcc
how to select an input?
Re: how to select an input?
Thank you, that was a very helpful link!
However, it doesn't work.
I did include driver/adc.h, but after the configuration of the port with
My problem is: Arduino finds that header filess, I partout not.
Regards
aabbcc
However, it doesn't work.
I did include driver/adc.h, but after the configuration of the port with
do I get the failure message:adc1_config_width(ADC_WIDTH_BIT_12);
adc1_config_channel_atten(ADC1_CHANNEL_0,ADC_ATTEN_DB_11);
Is it possible, that the linked manual contains non-Arduino header files?expected constructor, destructor, or type conversion before '(' token
My problem is: Arduino finds that header filess, I partout not.
Regards
aabbcc
Re: how to select an input?
Yes, it was very helpful!
I did it try yesterday and it works immediately!
Thank you very much for your help!
regards
aabbcc
I did it try yesterday and it works immediately!
Thank you very much for your help!
regards
aabbcc
Re: how to select an input?
PS:
Do you have maybe a source solving my other problem:
My ESP32 (exactla: LILYGO® TTGO T-Call V1.4 ESP32 Wireless Module SIM Antenna SIM Card SIM800L) doesn't start after power on.
It is powered by a potent power unit with 3,7 V at the backside small power jack.
After power on is no reaction. I have to press the RST switch and then starts immediately.
Just this is not allowed, it must start without manually handling.
In my manual did I found some recommandations like 10 k between gnd and en or 10 between pin x and pin y but nothing works.
Do you also have a source for my problem?
Regard
aabbcc
Do you have maybe a source solving my other problem:
My ESP32 (exactla: LILYGO® TTGO T-Call V1.4 ESP32 Wireless Module SIM Antenna SIM Card SIM800L) doesn't start after power on.
It is powered by a potent power unit with 3,7 V at the backside small power jack.
After power on is no reaction. I have to press the RST switch and then starts immediately.
Just this is not allowed, it must start without manually handling.
In my manual did I found some recommandations like 10 k between gnd and en or 10 between pin x and pin y but nothing works.
Do you also have a source for my problem?
Regard
aabbcc
Who is online
Users browsing this forum: No registered users and 78 guests