Here's a simple tutorial, not of express, but it will get you started & you
could adapt express in there pretty easily.
http://isolasoftware.it/2012/04/23/beaglebone-and-websockets-a-full-example-that-turn-onoff-a-led/
On Sunday, January 25, 2015 at 7:10:31 AM UTC-6, Günter Pütz wrote:
>
> Many
Thanks for this, I was looking at node-i2c & how to implement scan & went
all cross eyed.
On Tuesday, January 20, 2015 at 1:47:52 PM UTC-6, Brian Cooke wrote:
>
> There is one more thing:
>
>
>- i2c-bus is io.js and Node.js compatible - tested with io.js 1.0.2 on
>a BeagleBone Black runn
You specify the .html file location in the server code.
In the isolasoftware.it websockets example:
function handler (req, res) {
fs.readFile('sock123/index.html',
When the socketio server receives a request on the specified port (in the
example 8090), it reads the file 'sock123/index.html'
19
Did you install socket.io in the var/lib/cloud9 directory?
I was setting up a fresh flash & forgot to change to the cloud9 directory
when running npm install on a few things & bonescript/cloud9 balked all
over.
I used the 'beaglebone & websockets' code as a base to figure out what I
was doing, s
mcp address is 0x20, rather than 0x00 (typo in 2nd sentence)
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an
I'm trying to detect i2c devices on /dev/i2c-2.
I have a MCP23017 connected to i2c2 (pins 19 & 20) with address set to
0x00. i2cdetect -r 1 finds it as expected. I can fire outputs/read inputs
via another script, so it is working properly.
I've modified the 'test-i2c' from github as follows:
ried to install the socket io using the console And Now I
> have the error Message
>
> ERROR : getaddrinfo ENOTFOUND.
>
> If You have some advice I really appreciate your help.
>
> Thanks again.
>
> JJAT
>
>
>
> El 14/10/2013, a las 18:45, Andrew Sni
I found this example via google, I think it will help you.
http://isolasoftware.it/2012/04/23/beaglebone-and-websockets-a-full-example-that-turn-onoff-a-led/
On Monday, October 14, 2013 4:20:00 PM UTC-4, jjar...@gmail.com wrote:
>
> I want to know if when i want show the state of one digital or an