Search found 8 matches

by cappy2112
Mon Oct 24, 2016 4:09 am
Forum: MicroPython pyboard
Topic: SD card filesystem type
Replies: 4
Views: 6713

SD card filesystem type

What kind of filesystem is needed on the SD card? I haven't been able to find that information in the docs, maybe I'm looking in the wrong place. https://docs.micropython.org/en/latest/pyboard/pyboard/general.html#local-filesystem-and-sd-card Damien if you're reading these, please add a few line abo...
by cappy2112
Tue May 03, 2016 8:14 pm
Forum: MicroPython pyboard
Topic: exiting from the REPL
Replies: 6
Views: 19346

Re: exiting from the REPL

Indeed, you could, by: a) reading "screen" manual; b) by following MicroPython tutorial which gives you that hint: http://docs.micropython.org/en/latest/pyboard/pyboard/tutorial/repl.html#mac-os-x I'm sure I read that- some time ago. However, when you're used to exiting the REPL in the typical way ...
by cappy2112
Tue May 03, 2016 4:49 am
Forum: Programs, Libraries and Tools
Topic: Problem getting rshell connected to MicroPython on OSX
Replies: 4
Views: 6152

Re: Problem getting shell connected to MicroPython on OSX

I didn't know the answer, but found out that this is what makes the difference: http://stackoverflow.com/questions/8632586/macos-whats-the-difference-between-dev-tty-and-dev-cu For rshell/pyboard, you definitely want to use /dev/cu.usbmodem* I don't know what the pyboard USB stack does with DCD. It...
by cappy2112
Tue May 03, 2016 4:06 am
Forum: Programs, Libraries and Tools
Topic: Problem getting rshell connected to MicroPython on OSX
Replies: 4
Views: 6152

Re: Problem getting shell connected to MicroPython on OSX

What's the output of: ls -l /dev/tty.usbmodem1412 show? I don't use OSX much. Is there /dev/cu.usbmodem1412 as well? On my Mac Mini, the pyboad shows as /dev/cu.usbmodem99999 (where 99999 is some number). Is there /dev/cu.usbmodem1412 as well? Yes. What's the difference between the two? Should I al...
by cappy2112
Tue May 03, 2016 4:04 am
Forum: MicroPython pyboard
Topic: exiting from the REPL
Replies: 6
Views: 19346

Re: exiting from the REPL

Well, you don't exit the REPL, except by telling the pyboard to execute something. You can exit from your terminal emulator (i.e. screen) using whatever technique that progam uses. But the REPL will continue to run on the pyboard until its powered off, or its told to run something else. Thanks. Can...
by cappy2112
Tue May 03, 2016 3:29 am
Forum: Programs, Libraries and Tools
Topic: Problem getting rshell connected to MicroPython on OSX
Replies: 4
Views: 6152

Problem getting rshell connected to MicroPython on OSX

I'm able to get the REPL going using screen /dev/tty.usbmodem1412, but screen is really clunky. I've installed shell but can't get it talking to the same device. rshell connect serial /dev/tty.usbmodem1412 Connecting to /dev/tty.usmodem1412 ... failed to access /dev/tty.usmodem1412 Would someone help?
by cappy2112
Tue May 03, 2016 12:40 am
Forum: MicroPython pyboard
Topic: exiting from the REPL
Replies: 6
Views: 19346

exiting from the REPL

After connecting with the REPL using screen on OSX Mavericks,
I'm not able to exit as I would typically do with the Python REPL.

What is the preferred way to exit the REPL?

Thanks
by cappy2112
Mon May 02, 2016 11:23 pm
Forum: MicroPython pyboard
Topic: the contents of boot.py
Replies: 3
Views: 4740

the contents of boot.py

This is the contents of boot.py, as indicated at this url -> http://micropython.org/doc/tut-script import pyb #pyb.main('main.py') # main script to run after this one #pyb.usb_mode('CDC+MSC') # act as a serial and a storage device #pyb.usb_mode('CDC+HID') # act as a serial device and a mouse Since e...