Search found 9 matches

by LRonHorse
Tue Sep 22, 2015 10:11 pm
Forum: General Discussion and Questions
Topic: RPi2 PyBoard and I2C
Replies: 3
Views: 4056

Re: RPi2 PyBoard and I2C

OK, thanks for that. I'll do some investigation and see where it gets me.

Cheers

LRon
by LRonHorse
Tue Sep 22, 2015 3:33 pm
Forum: General Discussion and Questions
Topic: RPi2 PyBoard and I2C
Replies: 3
Views: 4056

RPi2 PyBoard and I2C

Hi there
Just wondering if anyone around here has tried getting a Raspberry Pi 2 and a PyBoard to communicate over I2C.

Cheers

LRon
by LRonHorse
Mon Sep 14, 2015 12:50 pm
Forum: General Discussion and Questions
Topic: pyboard.py and PYTHONPATH
Replies: 5
Views: 6974

Re: pyboard.py and PYTHONPATH

Hi sorry it's taken so long to get back to you - I got a bit sidetracked and had to drop off the pyboard for a bit. Thanks for the comments - especially about mixing Py2 & Py3 paths as this wasn't a good solution at all but, at the time seemed to be the only fix. However.... The mistake I made was a...
by LRonHorse
Fri Aug 28, 2015 6:19 pm
Forum: General Discussion and Questions
Topic: pyboard.py and PYTHONPATH
Replies: 5
Views: 6974

Re: pyboard.py and PYTHONPATH

Thanks for that Dave, you gave me some useful pointers :) I thought what you said was the case with PYTHONPATH but wasn't entirely sure - thanks for confirming that. My python system default is standard for Raspbian - python 2.7 confirmed with /usr/bin/env python - but running python3 with appropria...
by LRonHorse
Thu Aug 27, 2015 5:44 pm
Forum: General Discussion and Questions
Topic: pyboard.py and PYTHONPATH
Replies: 5
Views: 6974

pyboard.py and PYTHONPATH

Hi folks I've got an annoying problem that's part pyboard related and part python related so I hope this is appropriate! I'm running the pyboard connected to a Raspberry Pi 2 with Raspbian as the OS. Pyboard.py works fine with a small test file if I have both in the directory that I issue the comman...
by LRonHorse
Fri Aug 21, 2015 5:08 pm
Forum: General Discussion and Questions
Topic: Boot from /flash and mount /sd
Replies: 5
Views: 6428

Re: Boot from /flash and mount /sd

Thanks for that - I shall checkout RShell and see what transpires

Many thanks

LRon
by LRonHorse
Fri Aug 21, 2015 2:19 pm
Forum: General Discussion and Questions
Topic: Boot from /flash and mount /sd
Replies: 5
Views: 6428

Re: Boot from /flash and mount /sd

Hi Dave I tried the execfile('/flash/boot.py') approach from the sd card and it didn't work for me. However, I did try the following: import pyb pyb.main(('/flash/main.py') which did work - dunno why I didn't try that first!! It do a couple of odd things though, such as overwriting the boot.py file ...
by LRonHorse
Thu Aug 20, 2015 12:45 pm
Forum: General Discussion and Questions
Topic: Boot from /flash and mount /sd
Replies: 5
Views: 6428

Re: Boot from /flash and mount /sd

Thanks Dave I shall give that a try today and see where it gets me :)
by LRonHorse
Wed Aug 19, 2015 5:49 pm
Forum: General Discussion and Questions
Topic: Boot from /flash and mount /sd
Replies: 5
Views: 6428

Boot from /flash and mount /sd

Hi Does anyone know how to boot from flash but still have the sd mounted and accessible - or is possible? I've just gotten started with the pyboard and getting to grips with it (albeit slowly) but can't find a way of doing this. I'd like to run code from flash but use sd for writing data to. Cheers ...