Search found 3202 matches

by dhylands
Sun Sep 14, 2014 2:57 am
Forum: General Discussion and Questions
Topic: Why is the USB_VCP module gone?
Replies: 12
Views: 6007

Re: Why is the USB_VCP module gone?

USB_VCP is documented here: http://micropython.org/doc/module/pyb/USB_VCP Here is an exmple that uses it: https://github.com/dhylands/upy-examples/blob/master/keys.py and here's how you use repl_uart: https://github.com/dhylands/upy-examples/blob/master/boot.py (look at the init function). Running ...
by dhylands
Sat Sep 13, 2014 4:31 pm
Forum: General Discussion and Questions
Topic: Why is the USB_VCP module gone?
Replies: 12
Views: 6007

Re: Why is the USB_VCP module gone?

What repl_uart does is cause the REPL to be sent to a UART, in addition to having it on the USB serial. By default the repl only goes to the usb. repl_uart() returns None in this case, which is why you got the error you did.
by dhylands
Sat Sep 13, 2014 4:24 pm
Forum: General Discussion and Questions
Topic: Why is the USB_VCP module gone?
Replies: 12
Views: 6007

Re: Why is the USB_VCP module gone?

USB_VCP is documented here: http://micropython.org/doc/module/pyb/USB_VCP Here is an exmple that uses it: https://github.com/dhylands/upy-examples/blob/master/keys.py and here's how you use repl_uart: https://github.com/dhylands/upy-examples/blob/master/boot.py (look at the init function). Running r...
by dhylands
Sat Sep 13, 2014 8:16 am
Forum: General Discussion and Questions
Topic: Accessing the SD card
Replies: 6
Views: 4682

Re: Accessing the SD card

I just clicked on both links and they both seem to be working fine for me.
by dhylands
Fri Sep 12, 2014 2:20 pm
Forum: MicroPython pyboard
Topic: Wifi module
Replies: 12
Views: 8873

Re: Wifi module

You may want to try the iabdalkader-cc3k-update branch. IIRC that was the working branch for wifi and it hasn't been merge to master yet.
by dhylands
Fri Sep 12, 2014 2:16 pm
Forum: General Discussion and Questions
Topic: importing user defined modules...
Replies: 3
Views: 2077

Re: importing user defined modules...

fma wrote:Is your code on the sd card? You need to add '1:/' path in your sys.path...
Or '/sd' if you're using new firmware.
by dhylands
Thu Sep 11, 2014 3:38 pm
Forum: MicroPython pyboard
Topic: data write speeds and broken SD cards
Replies: 32
Views: 13104

Re: data write speeds and broken SD cards

As far as broken sdcatds go, can't you just add mechanical support? I.e create a small board which puts some support under the portion of the sdcard that is over-hanging?
by dhylands
Thu Sep 11, 2014 2:26 pm
Forum: Hardware Projects
Topic: DMA, SPI and WS2812B
Replies: 5
Views: 4145

Re: DMA, SPI and WS2812B

This approach: http://forum.micropython.org/viewtopic. ... S2812#p899 uses SPI.

The SPI code doesn't look like it has DMA support yet =, but when it does, then we'll be able to allow the CPU to do things while the DMA is occurring.
by dhylands
Mon Sep 08, 2014 6:20 pm
Forum: Development of MicroPython
Topic: REPL improvement
Replies: 8
Views: 3599

Re: REPL improvement

I put together a python script I called usb-ser-mon.py https://github.com/dhylands/usb-ser-mon Under linux, it has the advantage that it detects when USB connected devices go away and it auto-reconnects when it comes back. It could definitely be modified to provide infinite history (and perhaps even...
by dhylands
Sun Sep 07, 2014 8:00 pm
Forum: General Discussion and Questions
Topic: Getting "disk not ejected properly" in OSX
Replies: 33
Views: 14886

Re: Getting "disk not ejected properly" in OSX

I've got it but haven't had a chance to look at it yet.