Search found 23 matches

by askvictor
Fri Aug 05, 2016 1:15 am
Forum: Development of MicroPython
Topic: writing a debugger/pdb for micropython
Replies: 0
Views: 1491

writing a debugger/pdb for micropython

I think it would be really valuable (mostly from a teaching and learning perspective) to have debugging capabilities in micropython. I'm imagining something quite simple - for starters, a way to set a breakpoint (like import pdb; pdb.set_trace() ) then drop into a REPL when that line is hit; albeit ...
by askvictor
Wed Aug 03, 2016 10:37 am
Forum: General Discussion and Questions
Topic: List of boards and how they communicate/are programmed?
Replies: 1
Views: 970

List of boards and how they communicate/are programmed?

Hi, I'm working on a fork of the mu editor https://github.com/ntoll/mu . The original design is for the bbc:microbit, but I've made a few quick and dirty changes to make it work with the ESP8266 running micropython (my fork is at https://github.com/eduvik/mu ). I'd also like to make this work with a...
by askvictor
Wed Aug 03, 2016 10:28 am
Forum: Programs, Libraries and Tools
Topic: mu editor for micropython
Replies: 46
Views: 26749

Re: mu editor for micropython

It does indeed: big improvement :D I have a UI issue, though, but should it be raised against your fork or the original? The dialog box which pops up if you click on files when the REPL is open (and vice versa) does not behave like a proper modal dialog: if you click on the main window it disappear...
by askvictor
Fri Jul 29, 2016 6:04 am
Forum: Programs, Libraries and Tools
Topic: mu editor for micropython
Replies: 46
Views: 26749

Re: mu editor for micropython

OK; latest commit fixes most of the REPL issues (I think, not really tested it much)
by askvictor
Fri Jul 29, 2016 1:51 am
Forum: Programs, Libraries and Tools
Topic: mu editor for micropython
Replies: 46
Views: 26749

Re: mu editor for micropython

Rather than run a binary from the web I cloned the repo, fixed the dependencies and ran the Python code directly. I'm getting the following issues: The REPL doesn't let me send ctrl characters to the target. The REPL doesn't respond normally to editing characters. If I type a followed by backspace ...
by askvictor
Thu Jul 28, 2016 9:57 pm
Forum: Programs, Libraries and Tools
Topic: mu editor for micropython
Replies: 46
Views: 26749

Re: mu editor for micropython

Rather than run a binary from the web I cloned the repo, fixed the dependencies and ran the Python code directly. I'm getting the following issues: The binary isn't compiled with my changes, so you did the right thing! The REPL doesn't let me send ctrl characters to the target. The REPL doesn't res...
by askvictor
Thu Jul 28, 2016 5:59 am
Forum: Programs, Libraries and Tools
Topic: mu editor for micropython
Replies: 46
Views: 26749

mu editor for micropython

I've just discovered mu http://codewith.mu/ for the bbc microbit, and have modified it to work with the ESP8266 (or, indeed any device that communicates purely over serial). My fork is at https://github.com/eduvik/mu - feel free to have a play and/or contribute. It's all written in python :)
by askvictor
Thu Jul 28, 2016 5:59 am
Forum: ESP8266 boards
Topic: Recommended IDE?
Replies: 10
Views: 10961

Re: Recommended IDE?

I've just discovered mu editor, see discussion at:

viewtopic.php?f=15&t=2182
by askvictor
Thu Jul 28, 2016 5:58 am
Forum: Programs, Libraries and Tools
Topic: IDEs (PyCharm, NetBeans, etc.) for MicroPython
Replies: 21
Views: 14548

Re: IDEs (PyCharm, NetBeans, etc.) for MicroPython

I've just discovered mu editor, see discussion at:

viewtopic.php?f=15&t=2182
by askvictor
Sun May 15, 2016 5:43 am
Forum: ESP8266 boards
Topic: Reading VCC level
Replies: 2
Views: 1810

Reading VCC level

ESP8266 has the ability to read the Vcc voltage using the internal ADC. Looking at the source, this is enabled in micropython by reading ADC channel 1 (instead of channel 0 for the 'real' ADC). However, this seems to require defining ESP_INIT_DATA_ENABLE_READVDD33 in user_config.h prior to compiling...