Search found 5956 matches

by pythoncoder
Thu Sep 01, 2016 12:56 pm
Forum: General Discussion and Questions
Topic: strange behaviour...
Replies: 13
Views: 10258

Re: strange behaviour...

Kudos for sheer bravery in submitting such a complicated test case ;) I await with interest the response of the dev team...

As a confirmed yellow-belly I have to confess to quietly finding a workround when confronted with a bug which only pokes its head above the parapet in a 1000 line program...
by pythoncoder
Thu Sep 01, 2016 9:33 am
Forum: General Discussion and Questions
Topic: strange behaviour...
Replies: 13
Views: 10258

Re: strange behaviour...

...I assure you, that there is still an issue with the way str's are used in dictionary keys... In general strings work fine as keys. But I'm not doubting you: you've evidently hit on a special case. But until you can produce a simple, reproducible test case the developers have nothing to go on. Pr...
by pythoncoder
Thu Sep 01, 2016 9:24 am
Forum: WiPy and CC3200 boards
Topic: RTC not waking from IDLE
Replies: 5
Views: 6464

Re: RTC not waking from IDLE

It might help if you explained why you want to idle between steps if you're not concerned about power consumption. What are you actually trying to achieve?
by pythoncoder
Thu Sep 01, 2016 8:59 am
Forum: ESP8266 boards
Topic: Accessing SD cards
Replies: 21
Views: 17945

Re: Accessing SD cards

Excellent! That is seriously useful :D
by pythoncoder
Thu Sep 01, 2016 8:55 am
Forum: ESP8266 boards
Topic: Looking for some help with mqtt
Replies: 7
Views: 8364

Re: Looking for some help with mqtt

I gather it's available in 'release' builds and not in nightly builds - a fact which is not self-evident ;) So try esp8266-20160809-v1.8.3.bin
by pythoncoder
Thu Sep 01, 2016 8:48 am
Forum: ESP8266 boards
Topic: WeMos D1 Mini Pro 16MB
Replies: 15
Views: 19647

Re: WeMos D1 Mini Pro 16MB

Perhaps I'm being too suspicious, then - but I gather there are a lot of dodgy clones of WeMos devices. I think abandoning shielding represents a decline in build quality and I doubt an unshielded module can achieve FCC approval.

The antenna connection is a great improvement.
by pythoncoder
Wed Aug 31, 2016 4:44 pm
Forum: General Discussion and Questions
Topic: strange behaviour...
Replies: 13
Views: 10258

Re: strange behaviour...

Well that issue was fixed long ago. I can't replicate this fault here, either on the Unix build or on a Pyboard: $ ./upython MicroPython v1.8.1-39-gdb4addd on 2016-07-01; linux version Use Ctrl-D to exit, Ctrl-E for paste mode >>> rd = {'HorizontalSelector': 0, 'VerticalSelector': 0, 'CTone': 5, 'To...
by pythoncoder
Wed Aug 31, 2016 4:24 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 57
Views: 74699

Re: Software serial?

Writing a software UART is a nontrivial task. There are many parameters to accommodate, and timing needs to be quite precise (+-5% or thereabouts) so receive and transmit would need to be interrupt driven. To add to the complexity it needs to be able concurrently to send and receive. The first step ...
by pythoncoder
Wed Aug 31, 2016 4:10 pm
Forum: General Discussion and Questions
Topic: strange behaviour...
Replies: 13
Views: 10258

Re: strange behaviour...

Bear in mind that keys() iterates over dictionary keys in an arbitrary order. Thus

Code: Select all

list(rd.keys())[0]
will not produce anything consistent or repeatable between Python implementations or between program runs.
by pythoncoder
Wed Aug 31, 2016 4:00 pm
Forum: ESP8266 boards
Topic: WeMos D1 Mini Pro 16MB
Replies: 15
Views: 19647

Re: WeMos D1 Mini Pro 16MB

Odd that the chip isn't shielded: their other products have a WeMos branded, shielded chip. Odder still it doesn't appear on the WeMos official site. I smell a rat.