Go to advanced search

by ritter4242
Thu Nov 26, 2015 5:14 am
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

stderr, looked into that python cookbook recommendation, turns out 11.13 is basically what I was trying to do. sending large arrays across the network would work excellently. I'd be able to send and receive arrays that have the status of each variable. I guess the next question is, how do I connect ...
by ritter4242
Thu Nov 26, 2015 4:26 am
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

stderr, Do you know if that message thing will work between pis?
by ritter4242
Thu Nov 26, 2015 4:25 am
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

alright, my trick i was trying to get to work doesn't.... So, stdrr I will be switching to that message passing trick you mentioned.
by ritter4242
Tue Nov 10, 2015 4:37 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

Hi there everyone, sorry life has been a little...messy lately. Work has been cutting into my coding time. Anywho.. Hippy: I'm rather new to coding on the raspberry pi, so to describe things a little better, I'm mounting the touchscreen and pi in my car, and using the second pi to display a hud on t...
by ritter4242
Fri Nov 06, 2015 10:46 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

emgi, I'll look into that and see if it'll work! stderr, once I've imported the file var.py, it is not modified anymore. what the pointer from the import statements is looking at does. (sorry I took a little bit of computer science a LONG time ago and I'm trying to remember how to explain this). So ...
by ritter4242
Fri Nov 06, 2015 6:00 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

sorry stderr, I'm not writing the file, I'm changing the variables value. ##var.py## var_1 = 'off' ######## >>>import var >>>print var.var_1 off >>>var.var_1 = 'on' >>>print var.var_1 on That ^ is what I'm trying to do, but with var.py being on a different raspberry pi (sorry I realized I'd been usi...
by ritter4242
Fri Nov 06, 2015 4:51 pm
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

ok, I think I've realized now why I think I've been explaining what I'm trying to do, but failing... I want to be able to import a file into python, stored on PiA, into a file on PiB. This gets around the whole read/write try/fail issue. I've done this on one pi before and it doesn't cause any issue...
by ritter4242
Fri Nov 06, 2015 3:58 am
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

My code will be updating the state of relays, a display that shows various states, and possibly writing to OBD2. I would like some sort of 'master' variable file so that at any given instance the variables being used in the code are all the same (that way the display doesn't show relay n being off w...
by ritter4242
Fri Nov 06, 2015 1:12 am
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

Re: reading file from rpi1 with rpi2

So I'll try and explain it a little better. I want 'global' variables that I can transfer from one pi to another. I'm looking for quick look-up speed, wanting to make a 'refresh' code that checks the status of the values every half second. I hope thats a better explanation. I'd be more than willing ...
by ritter4242
Wed Nov 04, 2015 4:54 am
Forum: Beginners
Topic: reading file from rpi1 with rpi2
Replies: 21
Views: 2732

reading file from rpi1 with rpi2

Ok, so I've spent a good week trying to solve this problem. I've looked at samba, NIS... just about everything and I haven't found something that I can tell will work. Heres the situation.... I have one RPi with the official touchscreen on it. (RPI1) I have a second RPi with nothing, as of now, goin...
by ritter4242
Fri Sep 25, 2015 4:12 am
Forum: Official Foundation Display
Topic: Rotate display 90º?
Replies: 76
Views: 253700

Re: Rotate display 90º?

I've gotten as far as twuelfing, but when I add the command to rc.local (after the comments) I reboot and get:
[....] startpar: service(s) returned failure: rc.local
[FAI failed!

any thoughts?

Go to advanced search