Search found 208 matches

by cefn
Sat Dec 15, 2018 1:34 pm
Forum: Programs, Libraries and Tools
Topic: MQTT connection stopes main.py
Replies: 2
Views: 206

Re: MQTT connection stopes main.py

Have you tried running each of these commands or code blocks through the REPL? This means you can interactively see any errors or blocking statements (which don't return to the REPL prompt) and figure out what is behind the error. Another thing I do within the boards I use is connect over serial, th...
by cefn
Sat Dec 15, 2018 12:20 pm
Forum: ESP8266 boards
Topic: Webserver send() + POST data reception
Replies: 1
Views: 332

Re: Webserver send() + POST data reception

Hi, trap16

Without seeing all the reference code you are running I think it'll be hard for anyone to help.
by cefn
Sat Dec 15, 2018 12:12 pm
Forum: Programs, Libraries and Tools
Topic: install micropython on ubuntu 18.10
Replies: 4
Views: 250

Re: install micropython on ubuntu 18.10

If you can create a script which completes the install (Virtualbox or Docker are useful for being able to re-run things from a clean start) then you can possibly create a Debian/Ubuntu package using checkinstall... https://debian-administration.org/article/147/Installing_packages_from_source_code_wi...
by cefn
Fri Jul 20, 2018 11:27 pm
Forum: ESP8266 boards
Topic: Repl not Responding
Replies: 5
Views: 478

Re: Repl not Responding

Hi, Chromecat

What board are you using with vanguard? Can you copy paste from the terminal session so we can see more precisely what is being typed and the result. The command you shared has 'micropython' mistyped, for example. I may have a matching board I can test against.
by cefn
Mon Jul 09, 2018 10:12 pm
Forum: Programs, Libraries and Tools
Topic: pythoncoder's uasyncio fork
Replies: 8
Views: 514

Re: uasyncio

"in 43 (gulp) years of developing firmware most of the nontrivial applications used cooperative multi-tasking" It's great to have someone with your kind of experience wanting to give back to the community - a level of commitment which deserves real recognition, and passes on insights from so many ye...
by cefn
Mon Jul 09, 2018 9:54 pm
Forum: General Discussion and Questions
Topic: Where can I find the sources for ESP8266 machine module?
Replies: 2
Views: 318

Re: Where can I find the sources for ESP8266 machine module?

And take a look at https://youtu.be/-MrqCmq3Z5k?t=18m4s for a walkthrough in answer to your question "understanding how the C source get converted in to Python libraries. Where can I look to get a better understanding of this?" which starts by looking at the modmachine.c source
by cefn
Mon Jun 25, 2018 7:14 pm
Forum: Programs, Libraries and Tools
Topic: Pylint settings for micropython
Replies: 2
Views: 340

Re: Pylint settings for micropython

What kind of editor are you trying to use, for which pylint is a plugin? There are editors like Thonny and Mu, and a plugin for PyCharm which are all cross-platform, free to download and install, which I would expect should recognise Micropython libraries, as they target Micropython specifically. I ...
by cefn
Mon Jun 25, 2018 7:10 pm
Forum: General Discussion and Questions
Topic: ring / fifo buffer
Replies: 5
Views: 419

Re: ring / fifo buffer

According to https://forum.micropython.org/viewtopic.php?f=6&t=4410&p=25630&hilit=deque#p25630 there is a deque implementation which may be useful for managing a queue where you are putting values in one end and removing on the other. However it is not obvious since there's no documentation at https...
by cefn
Thu Jun 21, 2018 8:59 pm
Forum: ESP32 boards
Topic: serial read function not return content as expected
Replies: 5
Views: 468

Re: serial read function not return content as expected

I think that ser.read() is probably behaving as it should, though I'm no expert. I think it tries to read whatever characters are already available, and doesn't wait on a particular character (newline) coming through. The number n you passed to ser.read(n) isn't interpreted as a minimum number of ch...
by cefn
Wed Jun 20, 2018 6:31 pm
Forum: General Discussion and Questions
Topic: Promoting Micropython with workshops and courses
Replies: 1
Views: 201

Re: Promoting Micropython with workshops and courses

Thanks for the diligent and comprehensive reply, @philwilkinson40 My comments below are not intended to suggest you should have done anything differently, but are just to share perspectives where I have chosen to make different decisions, so people can see some alternatives. PROJECT ORIENTATION The ...