Search found 5956 matches

by pythoncoder
Sat Aug 20, 2016 5:35 am
Forum: General Discussion and Questions
Topic: function similar %timeit
Replies: 2
Views: 3525

Re: function similar %timeit

This allows any function to be timed by prefixing it with a decorator https://github.com/peterhinch/micropyth ... ed_func.py
by pythoncoder
Fri Aug 19, 2016 4:01 pm
Forum: Other Boards
Topic: Teensy 3.5/3.6
Replies: 9
Views: 10521

Re: Teensy 3.5/3.6

marfis wrote:Probably will take quite an effort to port the hal.
That was my thought too - I guess there are a numerous differences in the I/O devices. They look interesting pieces of kit, though.
by pythoncoder
Fri Aug 19, 2016 3:54 pm
Forum: ESP8266 boards
Topic: Invalid boot sector?
Replies: 8
Views: 7865

Re: Invalid boot sector?

The odd thing about this is that some people seem plagued with these problems while others don't. Because I'm using frozen bytecode I've been flashing firmware several times a day: entirely without issue. This on a Feather Huzzah, a Wemos D1 mini and (on occasion) on a Huzzah board (the UART rather ...
by pythoncoder
Fri Aug 19, 2016 7:01 am
Forum: ESP8266 boards
Topic: REPL not working
Replies: 10
Views: 14552

Re: REPL not working

It might be worth trying esptool.py erase_flash before re-flashing the firmware. Failing that I suggest you provide more details such as the make and model of the ESP8266 board, the command line you're using to flash the firmware and the amount of flash memory on your board. The fact that you're usi...
by pythoncoder
Fri Aug 19, 2016 6:48 am
Forum: MicroPython pyboard
Topic: I2C.SLAVE send() no data receive
Replies: 6
Views: 5704

Re: I2C.SLAVE send() no data receive

@titchap tl;dr Unless you've a good reason to use I2C and are fairly experienced I'd recommend using a UART. It's a far easier way to communicate between Pyboards. @deshipu Callbacks are undoubtedly the way to implement the slave interface but there isn't any documented way to implement these. As fa...
by pythoncoder
Fri Aug 19, 2016 6:06 am
Forum: ESP8266 boards
Topic: "Errno 16 resource busy"
Replies: 13
Views: 14994

Re: "Errno 16 resource busy"

Have you tried

Code: Select all

esptool.py erase_flash
This will erase everything including network connection details so you'll have to start from scratch flashing the firmware and connecting to your network. If this fails, post any error messages and hopefully someone will have a suggestion.
by pythoncoder
Fri Aug 19, 2016 5:58 am
Forum: General Discussion and Questions
Topic: Copy script file to board
Replies: 3
Views: 4893

Re: Copy script file to board

I've mainly used webrepl http://docs.micropython.org/en/latest/esp8266/esp8266/quickref.html#webrepl-web-browser-interactive-prompt and mu http://forum.micropython.org/viewtopic.php?f=15&t=2182 . The former works via a web browser and works whether the device is in station mode or access point mode....
by pythoncoder
Thu Aug 18, 2016 6:41 am
Forum: ESP8266 boards
Topic: REPL not working
Replies: 10
Views: 14552

Re: REPL not working

The baud rate should be 115200.
by pythoncoder
Wed Aug 17, 2016 12:31 pm
Forum: WiPy and CC3200 boards
Topic: OTA update issue
Replies: 3
Views: 4413

Re: OTA update issue

In my experience Filezilla is utterly reliable.
by pythoncoder
Wed Aug 17, 2016 10:05 am
Forum: ESP8266 boards
Topic: Hangs on MQTT Connection
Replies: 9
Views: 9159

Re: Hangs on MQTT Connection

...I think you have never seen such problems during your tests.... I'm afraid I haven't. I have run MQTT for substantial periods of time. One difference from your setup is that the rate at which I'm publishing is much lower - about once per 5 seconds. I only encountered one reliability issue which ...