Search found 3667 matches

by Roberthh
Wed Jun 13, 2018 8:55 pm
Forum: ESP32 boards
Topic: Putty is slow
Replies: 5
Views: 4356

Re: Putty is slow

Did you switch off flow control in putty?
by Roberthh
Tue Jun 12, 2018 11:09 am
Forum: General Discussion and Questions
Topic: remove whitespace while reading file
Replies: 4
Views: 2698

Re: remove whitespace while reading file

if chunk is a bytes object, you may need:


b"".join(chunk.split())
by Roberthh
Tue Jun 12, 2018 8:24 am
Forum: General Discussion and Questions
Topic: remove whitespace while reading file
Replies: 4
Views: 2698

Re: remove whitespace while reading file

e.g.
"".join(chunk.split())
by Roberthh
Tue Jun 12, 2018 5:27 am
Forum: ESP8266 boards
Topic: Differences between CH340 & CP210X Boards
Replies: 9
Views: 19172

Re: Differences between CH340 & CP210X Boards

On device using a Ch340G like the Wemos D1 mini or the Wemos Lolin32 lite I often get transmission errors beyond 230400 baud, using debian Linux. Not problems with CP210x or FT230 devices.
by Roberthh
Fri Jun 08, 2018 1:00 pm
Forum: Other Boards
Topic: Error in using I2C with color sensor
Replies: 2
Views: 2517

Re: Error in using I2C with color sensor

Ther error is in the function you call: def I2C_ReadRegister(Rd_Addr): global i2c, sensor result = i2c.mem_read(1 , sensor[0], Rd_Addr, timeout=1000) if isinstance(result,bytes): if len(result) > 0: return[0] The last line should be: return result[0] The line further below the one you flagged as err...
by Roberthh
Fri Jun 08, 2018 8:24 am
Forum: ESP32 boards
Topic: Anyone recommending a good IDE?
Replies: 20
Views: 25977

Re: Anyone recommending a good IDE?

Try Dave Hyland's rshell.
by Roberthh
Tue Jun 05, 2018 5:38 am
Forum: ESP32 boards
Topic: ESP32 external psRAM module
Replies: 5
Views: 8355

Re: ESP32 external psRAM module

I piggy-backed an ESP32 LoLin32 lite with a RAM chip as shown here: https://loboris.eu/forum/Thread-Info-Upgrade-ESP32-board-without-psRAM-with-4MB-8MB-SPIRAM. It also tells the source for the RAM. A little bit tricky for my old eyes, but it works. I just tried it with today's commits with psRAM sup...
by Roberthh
Mon Jun 04, 2018 6:40 am
Forum: MicroPython pyboard
Topic: Affordable WIFI for Pyboard
Replies: 2
Views: 2801

Re: Affordable WIFI for Pyboard

This shield is just an ESP8266 connected to an UART. You can do the same with any ESP01- module. Both @pythoncode and me (and maybe others) had the idea of using that as WiFi interface. But at least for me the task seems to laborious. Maybe the bew MACRAW interface makes it a little bit easier to ha...
by Roberthh
Thu May 31, 2018 7:15 am
Forum: MicroPython pyboard
Topic: Inline assembly in callback
Replies: 3
Views: 2344

Re: Inline assembly in callback

You can do the same in viper with a short loop. You may have to disable irq for that, to make to stable.
There are a few words about viper in the docs: http://docs.micropython.org/en/latest/p ... de-emitter
by Roberthh
Wed May 30, 2018 7:32 pm
Forum: MicroPython pyboard
Topic: Inline assembly in callback
Replies: 3
Views: 2344

Re: Inline assembly in callback

If the naming in assembler is too tricky, you could use viper code. It typically needs twice the time of assembler code, but you can create simple variables, give them the names you like and use the control structure of Python-