Search found 182 matches

by Gfast2
Mon Jan 15, 2018 9:39 am
Forum: General Discussion
Topic: ESP32 I²C 5V tolerance
Replies: 9
Views: 24942

Re: ESP32 I²C 5V tolerance

Many years before, I did a project using rs-485 chips (sn75176). It's dirty cheap and helps me programming my Arduino (Mega 2560) from a distence about 15m-20m away. If the I²C in your project not rocks, try this one. ;)

Cheers

Gfast2
by Gfast2
Sun Jan 14, 2018 7:50 pm
Forum: General Discussion
Topic: ESP32 I²C 5V tolerance
Replies: 9
Views: 24942

Re: ESP32 I²C 5V tolerance

According to ATmega328p Datasheet, you can even run you Atmel MCU as low as @1.8V.

If you do Arduino. As far as I can remember, there is also some Arduino Micro Pro running @ 3.3V. Perhaps you wanna check them out.

Cheers

Gfast2
by Gfast2
Wed Jan 10, 2018 12:03 pm
Forum: General Discussion
Topic: redirect app trace into sd card
Replies: 10
Views: 14055

Re: redirect app trace into sd card

Just don't know how to make a pull request for your Gist. i don't think there's a way to do pull requests in gist, but you can "fork" any gist and do modifications in the fork, then post the link to your forked version for others to see. Regarding stack size selection, indeed it is a not an easy pr...
by Gfast2
Tue Jan 09, 2018 5:05 pm
Forum: General Discussion
Topic: redirect app trace into sd card
Replies: 10
Views: 14055

Re: redirect app trace into sd card

Hallo Folks, Slowly I start to understanding, why people say C is not a very safe language. I did implementate this snippet as I describt right above. And it seems like one of my task didn't have enough Stack (Are these Logs saved in the stack of the task which created them?), have crash down the wh...
by Gfast2
Tue Jan 09, 2018 11:24 am
Forum: General Discussion
Topic: redirect app trace into sd card
Replies: 10
Views: 14055

Re: redirect app trace into sd card

Here you go: https://gist.github.com/igrr/82055d824cbbc521932f32217e0710b9 . This is a slightly modified sd_card example, it shows how to redirect logging messages (which come from ESP_LOG) and, optionally, stdout (which is used by 'printf') to a file on SD card. Hey ESP_Igrr, Just don't know how t...
by Gfast2
Tue Jan 09, 2018 10:46 am
Forum: General Discussion
Topic: redirect app trace into sd card
Replies: 10
Views: 14055

Re: redirect app trace into sd card

Here you go: https://gist.github.com/igrr/82055d824cbbc521932f32217e0710b9 . This is a slightly modified sd_card example, it shows how to redirect logging messages (which come from ESP_LOG) and, optionally, stdout (which is used by 'printf') to a file on SD card. Hello ESP_igrr, OH MY GOD!!! What a...
by Gfast2
Tue Jan 09, 2018 8:45 am
Forum: General Discussion
Topic: Geek Question: How to let "ctags" indexing header files in ESP-IDF
Replies: 0
Views: 2579

Geek Question: How to let "ctags" indexing header files in ESP-IDF

Hi ESP-IDF, Because of ESP-IDF, I did think about changing my IDE/Text Editor from Eclipse to Vim. Vim is really Powerfull if we can go over the "Learning Wall" vim-learn-curve.jpg So my question for today is: How to let ctags helps vim indexing header files & Function definitions from ESP-IDF and ~...
by Gfast2
Mon Jan 08, 2018 5:39 pm
Forum: General Discussion
Topic: redirect app trace into sd card
Replies: 10
Views: 14055

Re: redirect app trace into sd card

Hi iggr,

sorry, I can't! I think I've unstandstand, what I wanna achive is no more redirect app trace into sd card, but more about how to redirect stdout to a file.

Some ideas for me?

Cheers

Su Gao
by Gfast2
Sun Jan 07, 2018 8:36 am
Forum: General Discussion
Topic: Wemos Pro won't boot
Replies: 7
Views: 8889

Re: Wemos Pro won't boot

I'm using ubuntu in a windows 10 hosted vritualbox. And each time after I start the virtualbox, I've to dealing with these issues either.

My solution is replug. It fixs my problem.
by Gfast2
Sat Jan 06, 2018 6:54 pm
Forum: General Discussion
Topic: redirect app trace into sd card
Replies: 10
Views: 14055

Re: redirect app trace into sd card

Hi igrr, Thanks for the Tip. It seems like I'd try some idea just like your answers, before posting questions. To tell the truth, I always struggling if I should "RTFM" before I start to try something out. It's pretty a experience thing. Thanks again. If my implementation as you said works well, I w...