Search found 288 matches

by Turbinenreiter
Fri Aug 01, 2014 8:07 am
Forum: Programs, Libraries and Tools
Topic: A simple shell for pyboard
Replies: 45
Views: 47980

Re: A simple shell for pyboard

That last fix to micropython is pretty cool, implementing the other os methods and making imports work without adding to sys.path(). I have to remeber to update the wiki on importing after I changed my scripts.
by Turbinenreiter
Fri Aug 01, 2014 7:02 am
Forum: Programs, Libraries and Tools
Topic: A simple shell for pyboard
Replies: 45
Views: 47980

Re: A simple shell for pyboard

Got it!

Replace 0:/, 1:/ with /sd, /flash
on line 83 change to

Code: Select all

if filename[0] == '/sd' or filename == '/flash':
However, ls cuts the first few characters from the names it prints.

[I'm extremly excited about this.]
by Turbinenreiter
Fri Aug 01, 2014 6:41 am
Forum: Programs, Libraries and Tools
Topic: A simple shell for pyboard
Replies: 45
Views: 47980

Re: A simple shell for pyboard

>>> shell.run() 1:/> ls Cannot access '1:/': No such file or directory 1:/> cd log Directory '1:/log' does not exist 1:/> cat boot.py Cannot acces file '1:/boot.py': No such file Both log and boot py exist in 1:/ Is this due to 780 ? Oh, there also is 537 Replacing '1:/' with '/sd/' and O with flas...
by Turbinenreiter
Thu Jul 31, 2014 8:28 am
Forum: Programs, Libraries and Tools
Topic: A simple shell for pyboard
Replies: 45
Views: 47980

Re: A simple shell for pyboard

Hah!

Now we need nano and keyboard input, display is already there - and we have a computer.

edit:
hm.
ls: os has no attribute stat. my build is from july 12th. was this added later or do I need micropython-lib?
other commands work.
by Turbinenreiter
Wed Jul 30, 2014 2:03 pm
Forum: Hardware Projects
Topic: NanoSeeker (underwater robot)
Replies: 9
Views: 12088

Re: NanoSeeker (underwater robot)

I've started working on the MPU9150.
http://forum.micropython.org/viewtopic.php?f=5&t=231
by Turbinenreiter
Wed Jul 30, 2014 2:02 pm
Forum: Hardware Projects
Topic: Module for MPU9150
Replies: 54
Views: 54457

Module for MPU9150

I started on a module for the MPU-9150. Way more complex than the bmp180, most of the registers I don't even know what to do with. But I can already wake the device, put it to sleep, read the accelerometer registers and set the accelerometer range. The accelerometer data is raw. One thing that throw...
by Turbinenreiter
Tue Jul 29, 2014 7:47 am
Forum: Hardware Projects
Topic: Modules - Device Drivers
Replies: 21
Views: 160559

Modules - Device Drivers

Let's collect all the modules written to work with external devices! micropython-BMP180 The BMP180 is a pressure and temperature sensor, with a good enough resolution to act as altimeter. http://wiki.micropython.org/BMP180 TMP102 temperature sensor http://forum.micropython.org/viewtopic.php?f=5&t=15...
by Turbinenreiter
Mon Jul 21, 2014 7:43 am
Forum: Hardware Projects
Topic: NanoSeeker (underwater robot)
Replies: 9
Views: 12088

Re: NanoSeeker (underwater robot)

Do you already know wich 9-DOF IMU you are going to use? I have a MPU9150 lying around and a module for that is what's next on my TODO list (after fixing a nasyt bug in my BMP180 module). What I didn't knew before buying the MPU is that the DMP function it has is pretty much non-usable due to being ...
by Turbinenreiter
Mon Jul 14, 2014 9:42 am
Forum: General Discussion and Questions
Topic: Is it possible to port i2cdevlib?
Replies: 1
Views: 3059

Is it possible to port i2cdevlib?

Coming form Arduinos, I always happily used i2cdevlib. Now I miss it. http://i2cdevlib.com/ Do you think this can be ported? From my, naive, perspective - it should be possible. There als some to be porting to MSP430 going on. What's needed are python wrappers. And, it seems, those can even be autog...