Search found 29 matches

by PM-TPI
Fri May 15, 2020 6:30 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 1577

Re: LVGL and SD Card won't share SPI bus

This is my past initialization that would mount... uos.mount(SDCard(slot=2, sck=18, miso=19, mosi=23, cs=4), '/sd') tried... try: # uos.mount(SDCard(slot=2, sck=18, miso=19, mosi=23, cs=4), '/sd') sd = sdcard.SDCard(machine.SPI(1), machine.Pin(4)) uos.mount(sd, '/sd') print(uos.listdir('/sd/data')) ...
by PM-TPI
Fri May 15, 2020 3:34 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 1577

LVGL and SD Card won't share SPI bus

I posted in LittlevGl fourm also... https://forum.littlevgl.com/t/lvgl-and-sd-card-wont-share-spi-bus/2268 In post see... This problem was fixed in espressif/esp-idf@067f3d2, but that commit is not included yet in Micropython (at least not on the last release v1.12, which lv_micropython is aligned t...
by PM-TPI
Tue Mar 31, 2020 5:20 am
Forum: ESP32 boards
Topic: Bluetooth conflict with LittlevGL ili9341 driver
Replies: 3
Views: 367

Re: Bluetooth conflict with LittlevGL ili9341 driver

I saw that post and was very surprised about the scan dropping out after 7 hours. Currently I have a program with a lot of moving parts.... ble, wifi, webserver w/websockets, email... and I've been running the program weeks on end without a reboot (reboots are logged) . Program loops every minute to...
by PM-TPI
Mon Mar 30, 2020 6:22 pm
Forum: ESP32 boards
Topic: Bluetooth conflict with LittlevGL ili9341 driver
Replies: 3
Views: 367

Bluetooth conflict with LittlevGL ili9341 driver

I have a simple Bluetooth scanning function that works fine.
Importing the ili9341 driver causes the Bluetooth def bt_irq function to exit after a couple of cycles.
No REPL errors.
Microcontroller still responsive.
Where does one start to track down the conflict.
Using a Lion D32 Pro v2
by PM-TPI
Tue Feb 11, 2020 9:01 pm
Forum: Development of MicroPython
Topic: Micropython Build Environment for ESP32 in a Docker Container
Replies: 11
Views: 2787

Re: Micropython Build Environment for ESP32 in a Docker Container

Having pre-built binaries gives new developers the opportunity to get right to coding, testing, and evaluating LittlevGL without all the "building" hassles. https://sim.littlevgl.com/micropython/ports/javascript/lvgl_editor.html Wanted to give the simulator a try... and that doesn't work. CHROME ER...
by PM-TPI
Mon Jan 06, 2020 8:44 pm
Forum: ESP32 boards
Topic: BLE with Timer.PERIODIC problem
Replies: 1
Views: 638

BLE with Timer.PERIODIC problem

I have a BLE scanner function that works fine when run by wireless(). But if I try to trigger it with a Timer tm = Timer(-1) tm.init(period=60000, mode=Timer.PERIODIC, callback=wireless) it enters the function and stalls at the... GAP procedure initiated: discovery; own_addr_type=0 filter_policy=0 p...
by PM-TPI
Tue Dec 03, 2019 10:15 pm
Forum: Development of MicroPython
Topic: Micropython Build Environment for ESP32 in a Docker Container
Replies: 11
Views: 2787

Re: Micropython Build Environment for ESP32 in a Docker Container

I have made many attempts trying to build littlevgl with micropython. Downloading/installing all tools to no avail. It is sensory overload trying to understand all that is needed to build these firmware's . Could you make a Docker Container for these two.... Firmware built with ESP-IDF v4.x, with su...
by PM-TPI
Sat Nov 23, 2019 6:22 pm
Forum: General Discussion and Questions
Topic: How to "return" result from _IRQ_SCAN_RESULT
Replies: 2
Views: 420

How to "return" result from _IRQ_SCAN_RESULT

How do i retrieve the "return rssiValue" without using a global variable ???? import ubluetooth from micropython import const IRQ_SCAN_RESULT = const(1 << 4) IRQ_SCAN_COMPLETE = const(1 << 5) bt = ubluetooth.BLE() bt.active(True) def bt_irq(event, data): if event == _IRQ_SCAN_RESULT: addr_type, addr...
by PM-TPI
Fri Jun 28, 2019 4:24 pm
Forum: Programs, Libraries and Tools
Topic: uMail - A lightweight SMTP client for MicroPython
Replies: 24
Views: 6785

Re: uMail - A lightweight SMTP client for MicroPython

Using a Pycom GPy board these are my results... GoDaddy ('smtpout.secureserver.net', 465, ssl=True) works Offie365 ('smtp.office365.com', 587, ssl=xxxx) # SSL True = OSError: [Errno 113] EHOSTUNREACH # SSL False = AssertionError: auth error 535 Outlook Mail ('smtp-mail.outlook.com', 587, ssl=xxxx) #...