Search found 653 matches

by OutoftheBOTS_
Wed Jan 03, 2018 1:55 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

PWM?? How high a freq can the ESP32 do?? I am not sure that I am reading the ESP32 datasheet properly but it seems to imply that the LED PWM can go as high as 80MHz. My experimentation with this firmware is that it will do PWM up to 78KHz. The reason that I ask is that I am playing with quadrature e...
by OutoftheBOTS_
Mon Jan 01, 2018 11:45 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

@pythoncoder Thanks for the explanation. i understand now that you don't pass a string containing the name of the module but rather pass a pointer to the module its self. Again I learn something new :) I think that I might add gc.collect() to my function just to keep memory clean especially since si...
by OutoftheBOTS_
Mon Jan 01, 2018 10:28 am
Forum: ESP32 boards
Topic: Arcade games using new OLED library
Replies: 5
Views: 1576

Re: Arcade games using new OLED library

Cool project. I follow you on you tube and your channel is what got me interested in the esp chips.

The ssd1351 and the st7735 are very similar displays why did you pick the ssd1351? is it better than the st7735
by OutoftheBOTS_
Mon Jan 01, 2018 9:52 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

Yes I was thinking something like that in boot.py Now I have only been programming in python less than a year so am still learning lots. (i.e first time I have seen __import__() funtion) Would something like this be better?? from sys import modules def reload(mod_name): del sys.modules[mod_name] ret...
by OutoftheBOTS_
Mon Jan 01, 2018 1:41 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

del sys.modules['my_module'] vs sys.modules.pop("my_module")

Does del sys.modules return the memory to the heap to be able to be reallocated or does it just set it to zeros ??

I assume using sys.modules.pop will remove the module from the list and return the memory to the heap??
by OutoftheBOTS_
Sun Dec 31, 2017 11:01 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

@laboris

There seems to be a little bug in the telent in AP mode. I can use ftp with filezilla both in station mode over my router and in access point directly but putty will only connect to telent in station mode over my router and fails to connect in access point mode directly.
by OutoftheBOTS_
Sun Dec 31, 2017 10:39 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

I have installed the nppftp plugin for note++ and connected it to the esp32 use passive binary ftp insecure and it connects fine and shows me the contents of the esp32 and I can create directories and remove directories and can delete files on the esp32 but it fails when it tries to upload or down l...
by OutoftheBOTS_
Sun Dec 31, 2017 10:09 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

It looks like note++ has a plugin called nppftp that allows you to edit remote files over ftp directly without needing filezilla.
by OutoftheBOTS_
Sun Dec 31, 2017 1:46 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

@loboris Your a freaking genius :)
I just tried it and it works perfectly :)
by OutoftheBOTS_
Sun Dec 31, 2017 1:11 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 457
Views: 116229

Re: MicroPython on ESP32 with SPIRAM support

or possibly a clear memory function that will clear all variables and modules in python memory.