Search found 1381 matches

by pythoncoder
Thu Mar 23, 2017 7:38 am
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 24
Views: 2960

Re: So you want to use the UART...

If you are only listening all you need is a logic level converter on the RXD line to protect the ESP8266 from 5V.
by pythoncoder
Thu Mar 23, 2017 7:32 am
Forum: The MicroPython pyboard
Topic: Papirus Zero for my Pyboard
Replies: 3
Views: 116

Re: Papirus Zero for my Pyboard

You need to get the Pervasive Displays COG Timing datasheet. The version I have is 4P018-00_02_G2_Aurora+Mb_COG_Timing_V231pdf. It has flowcharts detailing the way to drive each size of panel. I haven't studied sizes other than 2.7". You'll need to compare the flowchart for the size you're usin...
by pythoncoder
Thu Mar 23, 2017 7:15 am
Forum: Other Boards
Topic: Software interrupt on nRF52832
Replies: 7
Views: 154

Re: Software interrupt on nRF52832

... I couldn't assign the error since it only says "NameError:" without the meaningful description you pointed out. It would have helped me a lot... Error reporting on the ESP8266 still leaves a lot to be desired and it sounds like the nRF52832 has the same problem. It is confusing. On ot...
by pythoncoder
Wed Mar 22, 2017 1:44 pm
Forum: Development of MicroPython
Topic: Adding a module error
Replies: 4
Views: 83

Re: Adding a module error

The function WRITE_PERI_REG doesn't appear in any of the header files. So the compiler sees no function declaration.
by pythoncoder
Wed Mar 22, 2017 8:59 am
Forum: Other Boards
Topic: Software interrupt on nRF52832
Replies: 7
Views: 154

Re: Software interrupt on nRF52832

You need def record_pressed(long_press): global duty If you assign to a variable in a Python function, and it is not declared as global, Python creates it as a local variable. However your code requires the value to be read, so you get "NameError: local variable referenced before assignment&quo...
by pythoncoder
Wed Mar 22, 2017 7:26 am
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 24
Views: 2960

Re: So you want to use the UART...

... Per the opening post, the circuit is to provide a non-blocking read. My question is whether it's required to send data into the ESP from another device such as a Pi. I thought you were referring to the circuit in the post from @mflmartin, rather than the one in the OP. The circuit in the OP is ...
by pythoncoder
Tue Mar 21, 2017 7:46 am
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 24
Views: 2960

Re: So you want to use the UART...

The circuit is to ensure that the logic levels supplied to the ESP8266 don't exceed 3.3V.
by pythoncoder
Tue Mar 21, 2017 7:26 am
Forum: The MicroPython pyboard
Topic: Papirus Zero for my Pyboard
Replies: 3
Views: 116

Re: Papirus Zero for my Pyboard

From a quick look it does appear to use ePaper hardware from the same source (Pervasive Displays http://www.pervasivedisplays.com/kits ) as the ones supported by my driver. This means there is a good chance of adapting the driver to suit. However the driver was written specifically for 2.7" dis...
by pythoncoder
Mon Mar 20, 2017 1:16 pm
Forum: Drivers for External Components
Topic: IR receiver/transmitter for ESP8266?
Replies: 22
Views: 690

Re: IR receiver/transmitter for ESP8266?

[EDIT]Reflecting a recent firmware fix. I'm assuming your problem is that import uasyncio is failing. Get the most recent version of the source. Unfortunately the asyncio library is large and needs to be installed as frozen bytecode. This is further complicated by the fact that the ESP8266 firmware ...
by pythoncoder
Mon Mar 20, 2017 12:50 pm
Forum: ESP8266 boards
Topic: New buidl with scheduler breaks code
Replies: 5
Views: 123

Re: New buidl with scheduler breaks code

No joy. It accepts the arg without complaint but I'm still getting no response :(
I've put a comment and request for guidance here https://github.com/micropython/micropython/pull/2878

Go to advanced search