Search found 8 matches

by Jpadie
Mon Apr 23, 2018 5:34 pm
Forum: ESP-IDF
Topic: No logging output from the main c file
Replies: 7
Views: 14832

Re: No logging output from the main c file

deleting the arduino include exposed two compiler errors in the idf not liking the data type 'byte'. changing those to uint8_t fixed that and now the logging output is there. This is quite unexpected since the Arduino component was installed and the app compiled fine with the Arduino include in ther...
by Jpadie
Mon Apr 23, 2018 12:56 pm
Forum: ESP-IDF
Topic: No logging output from the main c file
Replies: 7
Views: 14832

Re: No logging output from the main c file

You're right that it's there as a hangover in the codes.h file.

May I ask how that would prevent logging?
by Jpadie
Mon Apr 23, 2018 6:37 am
Forum: ESP-IDF
Topic: No logging output from the main c file
Replies: 7
Views: 14832

Re: No logging output from the main c file

it's possible heap corruption was from something else. I'm not sure what though as on the Arduino I was using stable libraries for pubsub and more or less the out of the box examples for the remote peripheral. But Im always willing to blame myself! The code I'm using on esp-idf is available as a gis...
by Jpadie
Sun Apr 22, 2018 10:40 pm
Forum: ESP-IDF
Topic: No logging output from the main c file
Replies: 7
Views: 14832

Re: No logging output from the main c file

Thanks or the reply Nick. You're right that I posted the output before I promoted the logging to verbose via menuconfig. Unfortunately the output from that was poorly formatted on my screen (not honouring LFs) and so ... verbose ... that i thought it didn't help to explain my issues. I've given up f...
by Jpadie
Sun Apr 22, 2018 4:18 pm
Forum: ESP-IDF
Topic: No logging output from the main c file
Replies: 7
Views: 14832

No logging output from the main c file

Hi this is my first time trying to use the esp-idf rather than arduino. I recognise that I'm probably doing something stupid. I'm trying to build a simple IR sender and using ESP_LOGI to get some serial output for debugging. In an attempt to generate these outputs I use statements such as ESP_LOGI(T...
by Jpadie
Mon Feb 19, 2018 1:27 pm
Forum: General Discussion
Topic: low voltage on output pins
Replies: 8
Views: 17299

Re: low voltage on output pins

yup. emitter connected to ground. Collector is now connected to a pole of a relay coil (12v to the other side). coil draw is 30mA. When testing the relay was not in the circuit. so there was no current flowing from collector to emitter. Even though the voltage at the pin is still only 0.7-0.8v, the ...
by Jpadie
Fri Feb 16, 2018 8:50 am
Forum: General Discussion
Topic: low voltage on output pins
Replies: 8
Views: 17299

Re: low voltage on output pins

yup. 2k.

tried with and without. the current at the collector is very low. so the current at the base is tiny. even without a resistor the draw would have been negligible.
by Jpadie
Tue Feb 13, 2018 8:22 pm
Forum: General Discussion
Topic: low voltage on output pins
Replies: 8
Views: 17299

low voltage on output pins

Hello I'm using a WROOM 32s module. voltage is supplied cleanly at 3.3v via an ams1117 LDO. I'm seeing only 0.8v when a GPIO pin is set to high. Which surprises me as I had expected closer to vcc (the datasheet says minimum is 0.8 * vcc). a read of the pin-state after the write says that it is still...