Search found 642 matches

by Damien
Mon Aug 04, 2014 8:09 am
Forum: Development of MicroPython
Topic: UART Receive Problem
Replies: 2
Views: 3489

Re: UART Receive Problem

As dhylands say, it's timing out because 4 characters were not available. To check for a timeout you can do: try: c = uart.recv(1) except: print('timeout') This will work for getting 1 character, but if you want to get more than 1 you will need to put the above in a loop. We'll work on this problem ...
by Damien
Mon Jul 21, 2014 10:25 pm
Forum: Kickstarter logistics for the Micro Python campaign
Topic: PyBoards for post-kickstarter orders soon?
Replies: 5
Views: 8175

Re: PyBoards for post-kickstarter orders soon?

We have a large number of people interested in getting a pyboard post-KS. We have a web shop which is currently only accessible to those who signed up early on after the Kickstarter. Gradually, we are opening this shop to more and more people so that we can deal with the demand, and it is currently ...
by Damien
Wed Jun 04, 2014 3:25 pm
Forum: General Discussion and Questions
Topic: Other new Python implementations
Replies: 5
Views: 3712

Re: Other new Python implementations

The comments on Pyston announcement seem more negative than positive. People complaining that it's Python 2.7 and not Python 3; people saying that it's too difficult and been tried before; people saying they should use a different (and more easily optimised) laguage.
by Damien
Mon May 19, 2014 7:36 pm
Forum: MicroPython pyboard
Topic: testing pyboard DAC
Replies: 13
Views: 11942

Re: testing pyboard DAC

Okay, I tested using both DACs at the same time, using write_timed, and it works! The limitation is that they must run at the same frequency. For example, doing: from pyb import DAC dac1 = DAC(1) dac2 = DAC(2) buf1 = bytearray(128 + x for x in range(10)) buf2 = bytearray(128 - x for x in range(20)) ...
by Damien
Mon May 19, 2014 6:21 pm
Forum: MicroPython pyboard
Topic: testing pyboard DAC
Replies: 13
Views: 11942

Re: testing pyboard DAC

Thanks for the bug report. I have now fixed the DAC(2) problem (it was linking to the DMA incorrectly). I also fixed the documentation regarding casting to an int to store into the bytearray buffer. Re the dual-modulated-triangle output: it could be that you are doing write_timed and triangle at the...
by Damien
Sun May 11, 2014 9:55 pm
Forum: General Discussion and Questions
Topic: OS X, board not appearing as Mass Storage Device
Replies: 17
Views: 12049

Re: OS X, board not appearing as Mass Storage Device

This has now been resolved. Problem was a broken USB cable.
by Damien
Wed May 07, 2014 10:58 am
Forum: General Discussion and Questions
Topic: OS X, board not appearing as Mass Storage Device
Replies: 17
Views: 12049

Re: OS X, board not appearing as Mass Storage Device

What version of OS X are you running? If you try to enter DFU mode, that will tell us if the USB connector is broken or working. To do this you need to connect the DFU hole (labelled P1/DFU on the back of the pyboard, in the bottom right corner looking from the back) with the 3V3 hole that is next t...
by Damien
Tue Apr 22, 2014 1:21 pm
Forum: General Discussion and Questions
Topic: When can we order Micro Python boards?
Replies: 1
Views: 2409

Re: When can we order Micro Python boards?

We are working very hard to get the boards out there into the wild. The first batch of boards have been manufactured (3000 of them), and are currently being programmed and tested. They will then be sent first to the Kickstarter backers. The remaining boards will be for sale on the website, at http:/...
by Damien
Tue Apr 01, 2014 9:30 pm
Forum: General Discussion and Questions
Topic: MicroPython publicity
Replies: 8
Views: 7303

Re: MicroPython announced on python-list?

I mentioned Django simply because it's got a lot of existing users, and if uPy can help them run their websites a bit faster with less memory, that would be a good place to start promoting uPy to the wider audience. if you'd prefer 3rd parties not make any noise about uPy before Kickstarter delivery...
by Damien
Tue Apr 01, 2014 9:21 am
Forum: General Discussion and Questions
Topic: MicroPython publicity
Replies: 8
Views: 7303

Re: MicroPython announced on python-list?

If Micro Python could run Django, even in some heavily stripped down form, then that would get people's attention. Imagine nginx + uPy :)

Thanks to pfalcon, Micro Python can already act as a simple web server or client. With generator support, it can almost start to be a real server.