Search found 35 matches

by cloudformdesign
Sun Jun 14, 2015 12:14 am
Forum: Programs, Libraries and Tools
Topic: Project: run existing Python applications with MicroPython
Replies: 9
Views: 15017

Re: Project: run existing Python applications with MicroPython

I'm going to port the msgpack library to micropython. msgpack is like json, but fast and small. Check out msgpack here: http://msgpack.org/ I think this library would be the best to start with as it is pure python and fairly simple (one file): https://github.com/vsergeev/u-msgpack-python To do this ...
by cloudformdesign
Sat Jun 13, 2015 6:24 pm
Forum: General Discussion and Questions
Topic: Compiling in unix and no "struct" module available
Replies: 2
Views: 3288

Re: Compiling in unix and no "struct" module available

so it does work after the following:

Code: Select all

micropython-pip install micropython-struct
However I thought struct was supposed to be in the standard library.
by cloudformdesign
Sat Jun 13, 2015 6:06 pm
Forum: General Discussion and Questions
Topic: Compiling in unix and no "struct" module available
Replies: 2
Views: 3288

Compiling in unix and no "struct" module available

I can't seem to get the struct module when compiling in the unix folder $ cd unix $ make $ ./micropython Micro Python v1.4.3-150-ga19ba5f on 2015-06-13; linux version >>> import struct Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: no module named 'struct' Am I d...
by cloudformdesign
Thu May 14, 2015 5:43 pm
Forum: General Discussion and Questions
Topic: Suggestion - how to make micropython much simpler
Replies: 14
Views: 11675

Re: Suggestion - how to make micropython much simpler

I would think you could just implement your "chips" library using the asyncio library and it could work like this. If the uasyncio library is anything like the stanard one, you just add it to the event loop and wallah! It will do the "asynchronous io" for you. Also, why is the example code written i...
by cloudformdesign
Thu May 07, 2015 7:59 pm
Forum: Development of MicroPython
Topic: Consistent naming of Micro Python
Replies: 6
Views: 5789

Re: Consistent naming of Micro Python

Just to be sure, the final name is MicroPython, with CAPS and everything. I've been doing a massive overhaul of the wiki and I want to make sure this is right.

I personally like keeping the names of things that are "micro" smaller, such as upy or upython -- but that's just me. It's your project!
by cloudformdesign
Thu May 07, 2015 7:45 pm
Forum: MicroPython pyboard
Topic: Using git revision to program on the pyboard
Replies: 10
Views: 8241

Re: Using git revision to program on the pyboard

I went through how to use GIT_DIR and posted my findings to the wiki: https://github.com/micropython/micropython/wiki/Developing-on-a-microcontroller A link to which is in: https://github.com/micropython/micropython/wiki/Tips-and-Tricks I did a massive overhaul of the wiki by adding a sidebar and or...
by cloudformdesign
Tue May 05, 2015 4:40 pm
Forum: MicroPython pyboard
Topic: Not easily impressed...
Replies: 12
Views: 14949

Re: Not easily impressed...

Hell ya pfalcon. All of Intels hardware is crap in my opinion, for all the reasons you gave - bloated software and unable to modify or upgrade. If you need more power, do an O Droid or Raspi 2. Micropython is a significant advancement for the general lower power case.
by cloudformdesign
Tue May 05, 2015 1:15 am
Forum: MicroPython pyboard
Topic: CRC hardware on pyboard
Replies: 9
Views: 9674

Re: CRC hardware on pyboard

That's a really unfortunate result of the 31bit magic. I think it's worth it to create an issue for the stm module to return the actual in value - - if that has to be multiple precision then so be it.
by cloudformdesign
Sun May 03, 2015 2:00 pm
Forum: Drivers for External Components
Topic: Library for Debouncing, Counting Pulses, and Averaging Analog Signals
Replies: 8
Views: 13300

Re: Library for Debouncing, Counting Pulses, and Averaging Analog Signals

That is a great idea for a library! A few comments: - If it is possible, I think it would be better for the library to receive the pin object that the user wants to use, rather than receive a text string. - I'm not sure what the advantage of the "description" is -- it seems to add complexity that co...
by cloudformdesign
Sat May 02, 2015 4:07 pm
Forum: MicroPython pyboard
Topic: PyB-to-PyB using I2C?
Replies: 24
Views: 20024

Re: PyB-to-PyB using I2C?

I'd like to do some testing with this and the asyncio library to see if we can get an asynchronous I2c socket. Has anybody tried this?