Search found 2264 matches

by pythoncoder
Tue Feb 20, 2018 12:15 pm
Forum: General Discussion and Questions
Topic: UART IRQ
Replies: 5
Views: 1487

Re: UART IRQ

You can't. See my reply here on ways to access the UARTs.
by pythoncoder
Tue Feb 20, 2018 6:07 am
Forum: The MicroPython pyboard
Topic: UART IRQ/Callbacks and Class Example
Replies: 1
Views: 1931

Re: UART IRQ/Callbacks and Class Example

...Documentation indicates that irq is available... I don't know where you found that. The official docs have no reference to this as far as I can see. There are various ways to use the UART. You can poll any() to see if data is available. If you don't mind methods which block until data is receive...
by pythoncoder
Tue Feb 20, 2018 5:56 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 394
Views: 39806

Re: MicroPython on ESP32 with SPIRAM support

Excellent :D
by pythoncoder
Tue Feb 20, 2018 5:55 am
Forum: ESP32 boards
Topic: Error when connecting to MQTT
Replies: 3
Views: 1579

Re: Error when connecting to MQTT

What broker are you using? I recommend mosquitto as this has been widely used here. It's worth checking that your broker is working correctly by installing and running mosquitto_pub and mosquitto_sub from a PC on your local network. If these work as expected you know your infrastructure is correct b...
by pythoncoder
Tue Feb 20, 2018 5:46 am
Forum: The MicroPython pyboard
Topic: uasyncio deque problem
Replies: 3
Views: 4212

Clarification of the MicroPython fork

My above explanation lacked clarity. Paul (@pfalcon) has forked the MicroPython project and its library. His library requires his version of the firmware. Your error occurred because you were using his library with the official MicroPython firmware. This fork occurred recently and, unfortunately, up...
by pythoncoder
Tue Feb 20, 2018 5:29 am
Forum: ESP8266 boards
Topic: SSD1306 random noise with multiple libraries
Replies: 3
Views: 2636

Re: SSD1306 random noise with multiple libraries

Have you got pullup resistors on the I2C lines? If the SSD1306 board hasn't got these fitted, fit 10KΩ resistors to 3.3V.

Also try using soft I2C:

Code: Select all

i2c = I2C(-1, scl=Pin(5), sda=Pin(4))
The official driver has been tested on ESP8266 so you should be able to get it working ;)
by pythoncoder
Mon Feb 19, 2018 7:20 am
Forum: General Discussion and Questions
Topic: Heap and interrupt handlers
Replies: 3
Views: 4985

Re: Heap and interrupt handlers

I thoroughly recommend getting a Pyboard as reference hardware.
by pythoncoder
Mon Feb 19, 2018 7:18 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 394
Views: 39806

Re: MicroPython on ESP32 with SPIRAM support

I didn't make this clear: I'm already doing this. The need to distinguish versions is actually in my test program.
by pythoncoder
Mon Feb 19, 2018 7:11 am
Forum: The MicroPython pyboard
Topic: uasyncio deque problem
Replies: 3
Views: 4212

Re: uasyncio deque problem

You are using the uasyncio version from the @pfalcon fork. My tutorial and libraries support the official repository only. Unfortunately upip currently loads the @pfalcon version. Please re-install using the instructions in the tutorial. You may have an old version of this: I recently updated it bec...
by pythoncoder
Mon Feb 19, 2018 6:57 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 394
Views: 39806

Re: MicroPython on ESP32 with SPIRAM support

My existing driver uses soft I2C which is not supported here # Standard port i2c = I2C(-1, scl=scl_pin, sda=sda_pin) # Loboris port doesn't support soft I2C i2c = I2C(scl=scl_pin, sda=sda_pin) A programmatic means of determining the port would be generally useful as there are inevitable differences.