I’ve found the register file for the accelerometer BMA250. I had a look at the coding, and my guess is that the adresses for the x,y,z axis etc… need to be changed?
I’m new to all this so excuse me if I say stupid things.
I’ll have a go at it tomorrow to see if it would work.
I’ve found a tutorial to implement the camera feed via node.js, which also solves my problem…
Funny thing, I’m also not able to run the hello world example from the breakoutjs.com site with the node server on the raspberry pi…
I got the example working on 192.168.0.178:8887/ by updating the .html file on line 86 by replacing host by “localhost”.
Would it be possible to get it also working on 192.168.0.178/ without explicitly stating the port number?
My guess is the config file of the apache server should handle this…
Just got it to work, but only if I explicitly direct tot 192.168.0.178:8887/examples/getting_started/hello_world.html.
I copied the complete examples folder to /var/www/ just to be sure.
Oddly, the index.html file in /var/www/ which is a copy of hello_world.html, won’t result in a connection to the node server. Not on 192.168.0.178 nor on 192.168.0.178:8887/.