Search found 611 matches

by mikemoy
Thu Apr 12, 2018 12:59 pm
Forum: General Discussion
Topic: ESP_LOG(I/W/E) vs printf for debug
Replies: 6
Views: 21943

ESP_LOG(I/W/E) vs printf for debug

I notice that there are 2 camps for debugging via the serial port. Those that use ESP_LOG(I/W/E), and those that use printf. I am in the camp of printf because there is less typing involved to get the job done. But I am open to see if there is something I don't know about with using ESP_LOG(I/W/E). ...
by mikemoy
Wed Apr 11, 2018 12:47 pm
Forum: ESP32 Arduino
Topic: 0.9 inch oled hangs after about 1 Minutes
Replies: 5
Views: 8140

Re: 0.9 inch oled hangs after about 1 Minutes

@shrimps, I was getting I2c Errors after about 2-3 hours. I switched to ESP-IDF and have not had any so far.
by mikemoy
Wed Apr 11, 2018 4:42 am
Forum: General Discussion
Topic: ESP-PROG availability
Replies: 6
Views: 9458

Re: ESP-PROG availability

I just received this e-mail from them.
Thanks for contacting us. Our global distributor Electrodragon will release ESP32-Prog very shortly. Please feel free to visit their website: http://www.electrodragon.com
by mikemoy
Tue Apr 10, 2018 10:35 pm
Forum: General Discussion
Topic: #define tprintf(...) telnetClient.printf(__VA_ARGS__); help...
Replies: 5
Views: 6949

Re: #define tprintf(...) telnetClient.printf(__VA_ARGS__); help...

I got it working, and have 2 ways.

#define tprintf(con, ...) ({int ret; ret = send(con,__VA_ARGS__, strlen(__VA_ARGS__),0); ret;})
by mikemoy
Tue Apr 10, 2018 8:48 pm
Forum: News
Topic: sysprogs announces ESP-IDF support in Visual Studio
Replies: 5
Views: 30177

Re: sysprogs announces ESP-IDF support in Visual Studio

I have been using VisualGDB for Linux applications for a coule years now and it is great. I am so glad to see you guys are adding this to your package. I really like the new feature in the project setting to show all the menuconfig options that was a great touch, but would be even better is to allow...
by mikemoy
Tue Apr 10, 2018 8:31 pm
Forum: General Discussion
Topic: #define tprintf(...) telnetClient.printf(__VA_ARGS__); help...
Replies: 5
Views: 6949

Re: #define tprintf(...) telnetClient.printf(__VA_ARGS__); help...

ok, I think I may know from your post how to better explain what I am after. Currently if I want to send something out via a TCP socket i would do something like this. char the_buf[64]; int len; ... ... ... sprintf(the_buf,"The Value is: %u\n", value); len = strlen(the_buf); bytes_sent = send(client...
by mikemoy
Tue Apr 10, 2018 6:52 pm
Forum: General Discussion
Topic: #define tprintf(...) telnetClient.printf(__VA_ARGS__); help...
Replies: 5
Views: 6949

Re: #define tprintf(...) telnetClient.printf(__VA_ARGS__); help...

Sorry I was not clear. yes, I am trying to map a #define to a function call When using Arduino. I add this at the top of main. #define tprintf(...) telnetClient.printf(__VA_ARGS__); WiFiClient telnetClient; I have of 4 other threads running. What was nice about this is I was able to call tprintf(......
by mikemoy
Tue Apr 10, 2018 1:13 pm
Forum: General Discussion
Topic: ESP-PROG availability
Replies: 6
Views: 9458

Re: ESP-PROG availability

At the bottom of the link you provided it says:
How to buy: espressif_systems (WeChat Account), Purchase consulting
http://www.espressif.com/en/company/con ... stions-crm
by mikemoy
Tue Apr 10, 2018 5:49 am
Forum: General Discussion
Topic: #define tprintf(...) telnetClient.printf(__VA_ARGS__); help...
Replies: 5
Views: 6949

#define tprintf(...) telnetClient.printf(__VA_ARGS__); help...

I am to far outside my realm to even think of a proper Subject title for my question, so sorry for that. I am slowly moving from Arduino to ESP-IDF. In Arduino land I was using this and like it allot for my telnet server. tprintf("Hello World\n"); To be able tyo use that, I was using this from an ex...
by mikemoy
Tue Apr 10, 2018 4:10 am
Forum: General Discussion
Topic: ESP32 Get started install ESP-IDF on Windows
Replies: 5
Views: 9100

Re: ESP32 Get started install ESP-IDF on Windows

The exact same steps worked just fine the next morning. So all is good.