Search found 13 matches

by nande
Fri Nov 14, 2014 1:21 am
Forum: General Discussion and Questions
Topic: LCD wiring?
Replies: 1
Views: 2611

Re: LCD wiring?

by nande
Thu Nov 06, 2014 7:48 am
Forum: General Discussion and Questions
Topic: Complex Numbers
Replies: 21
Views: 25160

Re: Complex Numbers

Well i'm not a pro on micropython (i just got my board a few days ago), but i do know something about python's speed. Just like any other language (even c++) the more you do, the more cpu it takes. Recursion is really slower because it needs to save the information about the current function while i...
by nande
Wed Nov 05, 2014 6:19 pm
Forum: General Discussion and Questions
Topic: Complex Numbers
Replies: 21
Views: 25160

Re: Complex Numbers

thanks a lot Pete. I'm very glad to be able to bring something to the community. Like i said i'm studying fft by myself (my first project will be a spectrum analyzer) and i don't understand how it works. And just to clarify is not actually my code, i only ported this http://paulbourke.net/miscellane...
by nande
Wed Nov 05, 2014 5:28 am
Forum: Hardware Projects
Topic: Friendly projects - Pycorn, etc.
Replies: 10
Views: 13816

Re: Friendly project - Pycorn

I think one of the most interesting contribution of micropython is the language itself. The board is awesome (i really love it), but the language is incredible. IMHO it has a lot of potential, to fill a gap in CPython implementation i've seen for some time.
I would love to try to make an os with it.
by nande
Wed Nov 05, 2014 5:02 am
Forum: General Discussion and Questions
Topic: Complex Numbers
Replies: 21
Views: 25160

Re: Complex Numbers

Yup pebkac in line 9. I fixed it and now it looks more like it. (i updated the original post) (btw notice that the other function modifies the list in place (on purpose)) >>> ll = [math.sin((float(n)/1024)*2*math.pi) for n in range(0, 1024)] >>> b = ll[:] >>> ffft(b) >>> [abs(x) for x in b[0:5]] [5....
by nande
Tue Nov 04, 2014 10:13 pm
Forum: General Discussion and Questions
Topic: Complex Numbers
Replies: 21
Views: 25160

Re: Complex Numbers

Thanks Pete, honestly i dont fully understand the FFT yet. Must be a typo in the code, i did it on a hurried trip. I'll check it later while i study fft further.
it gave the same results for a list of range(4) but i guess it was meaningless.
by nande
Mon Nov 03, 2014 10:11 pm
Forum: Development of MicroPython
Topic: How to embed MicroPython in multiplatform C++ framework
Replies: 14
Views: 17241

Re: How to embed MicroPython in multiplatform C++ framework

That would be awesome! I tried making a game engine programable with python (much like panda3d) and i've managed to port it to unix, windows and blackberry 10 , but that's because i already knew how to compile python for those platforms.. but its really messy and complicated.. im actually making a g...
by nande
Mon Nov 03, 2014 9:40 pm
Forum: Hardware Projects
Topic: Friendly projects - Pycorn, etc.
Replies: 10
Views: 13816

Re: Friendly project - Pycorn

Really interesnting, i always wanted to make an OS in python.
I think uPy implementations is actually better suitable for that task as it can handle interrupts and custom asm.
by nande
Mon Nov 03, 2014 9:29 pm
Forum: Hardware Projects
Topic: LCD skin Graphic-Demo
Replies: 4
Views: 11337

Re: LCD skin Graphic-Demo

Awesome thanks!
by nande
Mon Nov 03, 2014 9:25 pm
Forum: Hardware Projects
Topic: Simple download manager (example of deployable application)
Replies: 3
Views: 5804

Re: Simple download manager (example of deployable applicati

Threading in python is fairly easy, if you do a correct design it is not that bad. also using the queue class can solve most of your problems. however afaik CPython has only one concurrent thread*1 so it-s not that usefull unless you're doing some kind of IO ops (like you). maybe in upy you will nee...