Search found 1565 matches

by pythoncoder
Thu Jun 29, 2017 7:33 am
Forum: Programs, Libraries and Tools
Topic: uPyCraft(micropython IDE) released
Replies: 6
Views: 226

Re: uPyCraft(micropython IDE) released

+1. I'm sure it's great but without Linux support it's no use to me. Or a lot of other developers and makers.
by pythoncoder
Fri Jun 23, 2017 6:01 pm
Forum: ESP8266 boards
Topic: nodemcu starting to act funny...
Replies: 5
Views: 172

Re: nodemcu starting to act funny...

I'm not a Windows user but as a general point the version of cross compiler should match the version of firmware. This is because the bytecode format is subject to change, giving rise to the error message you're seeing.
by pythoncoder
Fri Jun 23, 2017 10:27 am
Forum: ESP8266 boards
Topic: ESP8266: this thing actually works now!
Replies: 6
Views: 458

Re: ESP8266: this thing actually works now!

... Looking forward to the asyncio compatible mqtt code as well! I've made progress with this. I have an asynchronous version of umqtt.robust which has survived testing so far. But I'd be interested to hear comments from yourself or anyone else on this issue. I don't think that umqtt.robust handles...
by pythoncoder
Fri Jun 23, 2017 9:08 am
Forum: The MicroPython pyboard
Topic: pyboard not detected after firmware update
Replies: 3
Views: 107

Re: pyboard not detected after firmware update

After removing the jumper you need to reset or power cycle the board.
by pythoncoder
Fri Jun 23, 2017 9:05 am
Forum: Programs, Libraries and Tools
Topic: upip my drivers
Replies: 3
Views: 162

Re: upip my drivers

I've yet to figure that out. I look forward to reading it ;)
by pythoncoder
Fri Jun 23, 2017 9:03 am
Forum: ESP8266 boards
Topic: How to tell ram/rom usage?
Replies: 4
Views: 158

Re: How to tell ram/rom usage?

Neat! Forcing a garbage collection might give a more accurate figure in cases where unreferenced objects remain on the heap: def free(full=False): gc.collect() F = gc.mem_free() A = gc.mem_alloc() T = F+A P = '{0:.2f}%'.format(F/T*100) if not full: return P else : return ('Total:{0} Free:{1} ({2})'....
by pythoncoder
Fri Jun 23, 2017 8:40 am
Forum: ESP8266 boards
Topic: ESP8266 is resetting
Replies: 2
Views: 110

Re: ESP8266 is resetting

Your DRIVE class has a number of instances of return mode As far as I can see this variable doesn't exist (you have self.mode). What I don't understand is why you haven't seen an error message. When you test the robot, have you got a means of viewing the output at the REPL? Either via a USB interfac...
by pythoncoder
Fri Jun 23, 2017 8:32 am
Forum: ESP8266 boards
Topic: nodemcu starting to act funny...
Replies: 5
Views: 172

Re: nodemcu starting to act funny...

What version of firmware are you running?
by pythoncoder
Fri Jun 23, 2017 8:24 am
Forum: ESP8266 boards
Topic: A way to catch any exception?
Replies: 3
Views: 132

Re: A way to catch any exception?

This is a query about the Python language rather than anything specific to MicroPython. There are plenty of books and online tutorials which can help you and I suggest getting familiar with the language on a PC. In essence if your program stops for any reason (e.g. running to completion or throwing ...
by pythoncoder
Thu Jun 22, 2017 11:37 am
Forum: General Discussion and Questions
Topic: Socket error -78 and errorno 9
Replies: 3
Views: 120

Re: Socket error -78 and errorno 9

Error no. 9 is a standard Python code for a bad file number (defined in errno.py). Maybe -78 is something PyCom specific?

Go to advanced search