Search found 847 matches

by OutoftheBOTS_
Mon Apr 02, 2018 10:17 am
Forum: ESP32 boards
Topic: Trying to design an ESP32 dev board
Replies: 13
Views: 13147

Re: Trying to design an ESP32 dev board

Just checking that we are talkign about this ciruit that everyone uses ??
esp32.png
esp32.png (11.78 KiB) Viewed 9494 times
by OutoftheBOTS_
Mon Apr 02, 2018 9:59 am
Forum: ESP32 boards
Topic: Trying to design an ESP32 dev board
Replies: 13
Views: 13147

Re: Trying to design an ESP32 dev board

The only thing that I can think of is that the ESP32 doesn't check the condition of GPIO0 as soon as it starts up but rather waits a very short time then checks this way this circuit could work as this circuit set reset/EN high then after that it sets GOPIO0 low.
by OutoftheBOTS_
Mon Apr 02, 2018 9:48 am
Forum: ESP32 boards
Topic: Trying to design an ESP32 dev board
Replies: 13
Views: 13147

Re: Trying to design an ESP32 dev board

@Roberthh I have asked everywhere how this auto boot circuit works and never get a response. It seems no one is sure how it works and it was just opied from the espressif development kit and people just use it as it seems to work. My understanding is this: When the ESP32 chip starts up it checks the...
by OutoftheBOTS_
Mon Apr 02, 2018 9:30 am
Forum: ESP32 boards
Topic: native and viper decorators on ESP32
Replies: 25
Views: 18993

Re: native and viper decorators on ESP32

Thank you very much pythoncoder for the links :) Very interesting read and very clever by the Micro-Python designers. So am I right in understanding that normal byte-code emitters is just designed to optimize Ram usage due to the constrained environment that Micro-Python usually runs in and Native e...
by OutoftheBOTS_
Mon Apr 02, 2018 5:26 am
Forum: General Discussion and Questions
Topic: A MicroPython logo?
Replies: 8
Views: 5301

Re: A MicroPython logo?

I have googled for images of Micro Python and only get the orange snake sitting on the chip. Does anyone have a link to the official grey 1 as I have never seen it.
by OutoftheBOTS_
Sun Apr 01, 2018 8:59 pm
Forum: General Discussion and Questions
Topic: A MicroPython logo?
Replies: 8
Views: 5301

Re: A MicroPython logo?

I thoigh the orange snake sitting on the chip was the logo see https://en.wikipedia.org/wiki/MicroPython
by OutoftheBOTS_
Sun Apr 01, 2018 10:40 am
Forum: ESP32 boards
Topic: native and viper decorators on ESP32
Replies: 25
Views: 18993

Re: native and viper decorators on ESP32

@RobertHH Thanks for your answer. The docs on native and viper emitters is very short and I am not going to be able to teach myself from them. Is there any blogs/tutorials you can suggest for me to study. I am a fast learner, only started to learn programming with my sons Lego mindstorm about 1.5yrs...
by OutoftheBOTS_
Sat Mar 31, 2018 9:30 pm
Forum: ESP32 boards
Topic: native and viper decorators on ESP32
Replies: 25
Views: 18993

Re: native and viper decorators on ESP32

Holy shit batman viper code is about 10-20 timer faster than standard Python code I still don't understand if this is possible why is it not the standard rather than only used when specified by the decorator?? What's the downside?? Not supported on ESP32. Is this because the ESP32 isn't capable or i...
by OutoftheBOTS_
Sat Mar 31, 2018 12:43 pm
Forum: ESP32 boards
Topic: native and viper decorators on ESP32
Replies: 25
Views: 18993

Re: native and viper decorators on ESP32

Ok this is all new to me, I hadn't heard of native or viper emitters. I am trying to get my head around exactly what they do and how they work. Am I right in thinking the tell the compiler to compile the code different that makes it run faster?? If so why don't we only compile in this faster way?? W...
by OutoftheBOTS_
Thu Mar 29, 2018 8:39 am
Forum: MicroPython pyboard
Topic: how to execute "OTHER" python scripts
Replies: 12
Views: 56977

Re: how to execute "OTHER" python scripts

I add this to my boot.py import gc from sys import modules def reload(mod): mod_name = mod.__name__ del sys.modules[mod_name] gc.collect() return __import__(mod_name) First time that I want to run a file I will use import file_name then anytime after that I want to run it I use reload(file_name)