Search found 20 matches

by dastultz
Mon Oct 03, 2016 12:15 am
Forum: Programs, Libraries and Tools
Topic: Kabuki robot coordination system
Replies: 0
Views: 3249

Kabuki robot coordination system

Hello all, I'd like to announce the initial release of a framework for coordinating inputs and outputs and animating robots. A bit hard to explain in a one-liner, but have a look at the documentation and examples. For you Micropython masters, I'm looking to see if there is anything that can be done ...
by dastultz
Fri May 27, 2016 1:46 am
Forum: MicroPython pyboard
Topic: Implementing/Overriding operators
Replies: 1
Views: 2782

Implementing/Overriding operators

Hello, I've got a project where I am implementing/overriding operators for a class. Consider this entered at a CPython prompt: >>> class Monkey: ... def __abs__(self): ... return "Fred" ... >>> m = Monkey() >>> abs(m) 'Fred' The same code on a Pyboard yields: Traceback (most recent call last): File ...
by dastultz
Wed May 25, 2016 11:14 am
Forum: MicroPython pyboard
Topic: Clear ExtInt?
Replies: 2
Views: 3123

Re: Clear ExtInt?

Excellent, that did the trick, thanks.

/Daryl
by dastultz
Wed May 25, 2016 1:16 am
Forum: MicroPython pyboard
Topic: Clear ExtInt?
Replies: 2
Views: 3123

Clear ExtInt?

Hello, I've put together a "rapid development cycle" thingy where my main program is a module which I reload without restarting/rebooting. I'm also using ExtInt. It works the first time but crashes on reload because the interrupt is already installed. Is there any way to clear the previous interrupt...
by dastultz
Thu Feb 11, 2016 12:47 am
Forum: Programs, Libraries and Tools
Topic: IDEs (PyCharm, NetBeans, etc.) for MicroPython
Replies: 21
Views: 26810

Re: PyCharm or NetBeans with pyBoard.

Unfortunately it was done by hand. I took the rst docs, did some reg ex replacement, then edited the rest. I don't expect the API will change much so shouldn't be a big deal to improve it manually.

/Daryl
by dastultz
Tue Feb 09, 2016 1:54 am
Forum: Programs, Libraries and Tools
Topic: IDEs (PyCharm, NetBeans, etc.) for MicroPython
Replies: 21
Views: 26810

PyCharm or NetBeans with pyBoard.

Here it is! pyb.py

https://github.com/dastultz/micropython_pyb

I'm sure it's not perfect, open an issue and I'll fix it.

/Daryl
by dastultz
Tue Feb 02, 2016 4:33 pm
Forum: Programs, Libraries and Tools
Topic: IDEs (PyCharm, NetBeans, etc.) for MicroPython
Replies: 21
Views: 26810

Re: PyCharm or NetBeans with pyBoard.

Sorry, I don't know.

/Daryl
by dastultz
Tue Feb 02, 2016 2:49 pm
Forum: Programs, Libraries and Tools
Topic: IDEs (PyCharm, NetBeans, etc.) for MicroPython
Replies: 21
Views: 26810

Re: PyCharm or NetBeans with pyBoard.

You can set up a given project to use one of many Python installations. So theoretically one can produce an installation that reflects what is available on the Pyboard or whatever your target is.

/Daryl
by dastultz
Tue Feb 02, 2016 1:51 am
Forum: Programs, Libraries and Tools
Topic: IDEs (PyCharm, NetBeans, etc.) for MicroPython
Replies: 21
Views: 26810

Re: PyCharm or NetBeans with pyBoard.

I wrote a quick thing using the inspect module against a module on the CPython side and it was super easy and short. But it didn't work on the Pyboard. I thought I found the inspect module was not on the Pyboard but maybe it just didn't have that parts I needed. The inspect module on CPython didn't ...
by dastultz
Sun Jan 31, 2016 2:44 pm
Forum: Programs, Libraries and Tools
Topic: IDEs (PyCharm, NetBeans, etc.) for MicroPython
Replies: 21
Views: 26810

Re: PyCharm or NEtBeans with pyBoard.

Yes, on the pyboard which is nice for exploratory work while connected to the board. I'm talking about development in an IDE. This thread is about getting code completion and whatnot in an IDE and the responses are mostly redirecting - use a simple text editor... I know there are plenty of people ha...