Search found 413 matches

by mikemoy
Fri Apr 13, 2018 4:12 am
Forum: General Discussion
Topic: ULP, use Byte instead of Long
Replies: 4
Views: 1221

Re: ULP, use Byte instead of Long

Why not just pack your 4 bytes into one 32 bit ?
by mikemoy
Thu Apr 12, 2018 2:17 pm
Forum: General Discussion
Topic: ESP_LOG(I/W/E) vs printf for debug
Replies: 4
Views: 3002

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

For myself, I did not like the fact that through menuconfig I could only select one of the 5 options. They should let you select as many as you like. For instance, I could not select Error and Debug.
by mikemoy
Thu Apr 12, 2018 12:59 pm
Forum: General Discussion
Topic: ESP_LOG(I/W/E) vs printf for debug
Replies: 4
Views: 3002

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: 1718

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: 2761

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: 1307

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: 7058

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: 1307

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: 1307

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: 2761

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

Go to advanced search