Search found 532 matches

by Roberthh
Sun Mar 26, 2017 2:14 pm
Forum: Other Boards
Topic: Esp32 port
Replies: 32
Views: 1811

Re: Esp32 port

Since the ESP32 port does not support Pin interrupts, I tested it on a LoPy, just to find very digusting figures. Basically, the response varies by about 100 µs, but the whole time window of response travels in time between 50µ after the pulse up to 900 µs after the pulse in a periodic manner. That ...
by Roberthh
Sun Mar 26, 2017 11:27 am
Forum: Other Boards
Topic: Esp32 port
Replies: 32
Views: 1811

Re: Esp32 port

@pythoncoder: No, id did not test it yet, but I can do so. The first impression was, that it is way more responsive, maybe because of the larger RAM. but that does not exclude long latencies, since the caching mechanism is still present. I did not continue testing with the ESP32 port, since it was a...
by Roberthh
Sat Mar 25, 2017 8:55 pm
Forum: General Discussion and Questions
Topic: Problems after flash
Replies: 2
Views: 51

Re: Problems after flash

It looks like the file system is defective. Try to erase the flash (make erase) and reload the firmware.
by Roberthh
Wed Mar 22, 2017 6:26 am
Forum: ESP8266 boards
Topic: Native code generation, "esp.set_native_code_location()" and how to find spare space in the flash
Replies: 9
Views: 205

Re: Native code generation, "esp.set_native_code_location()" and how to find spare space in the flash

Hello @jcea, flashing a new firmware does normally NOT destroy the file system, if it's location and size is unchanged. I do not know which kind of metadata you want to place at the end. It can't be the native code, because that has to be in the lower 1 MB. You could store the FAT file system top-do...
by Roberthh
Tue Mar 21, 2017 11:58 am
Forum: The WiPy
Topic: Code only runs when USB serial connected
Replies: 8
Views: 141

Re: Code only runs when USB serial connected

The supply looks fine. Assuming that you power the WiPy 1(?) on the expansion board and lookg at the schematics, it seems, that the USB/Serial chip is not powered when you suply though Vin. That may cause Tx/Rx/CTS and RTS to be pulled low. I do not know what that causes to the device. But just for ...
by Roberthh
Tue Mar 21, 2017 11:04 am
Forum: The WiPy
Topic: Code only runs when USB serial connected
Replies: 8
Views: 141

Re: Code only runs when USB serial connected

How do you power the device in the absence of USB?
by Roberthh
Tue Mar 21, 2017 6:49 am
Forum: ESP8266 boards
Topic: Converting UTC in utime.localtime giving wrong date
Replies: 3
Views: 75

Re: Converting UTC in utime.localtime giving wrong date

Maybe the two instances have a different date for the value of 0. I could not tell immediately. On ESP8266, the time is given as distance to Jan 1, 2000, 0:0:0 I personally use the following two lines in main.py to set the time: from ntptime import settime settime() That works and returne UTC time t...
by Roberthh
Tue Mar 21, 2017 6:34 am
Forum: The WiPy
Topic: Code only runs when USB serial connected
Replies: 8
Views: 141

Re: Code only runs when USB serial connected

Will it run when connected though telnet? Or do you see the error message then?
by Roberthh
Mon Mar 20, 2017 5:55 pm
Forum: ESP8266 boards
Topic: New buidl with scheduler breaks code
Replies: 5
Views: 139

Re: New buidl with scheduler breaks code

@pythoncoder, @damien: If you leave off the keywords and supply the parameters in the order handler, IRQ_mode, hard_value, then it works.
e.g.

Code: Select all

irq_pin.irq(sample_auto, irq_pin.IRQ_FALLING, True)
by Roberthh
Mon Mar 20, 2017 12:19 pm
Forum: ESP8266 boards
Topic: New buidl with scheduler breaks code
Replies: 5
Views: 139

Re: New buidl with scheduler breaks code

@pythoncoder: maybe only something 'like hard=True' has to be added in the call:

Code: Select all

 pin.irq(handler = self._cb_pin, trigger=(Pin.IRQ_FALLING | Pin.IRQ_RISING), hard=True)

I'll try this evening.

Go to advanced search