*Bottom line was that the socket IO functions did not quite work right when 
the BBB was only connected through the USB.  Once I connected through an 
Ethernet connection it all started to work.  *


On Saturday, November 15, 2014 10:27:53 PM UTC-8, John Mladenik wrote:
>
> I have tried at least 6 different tutorials to turn an LED on and off 
> through a web page.   None of them work and all get one error or another.   
>
> The most common one is right after the line
> var socket = io.connect();
>  Uncaught ReferenceError: io is not defined.   
>
> I followed the instruction to install socket.io 2 or 3 times and think 
> this worked successfully.  
>
> I did have to change the src line with socket.io.js in it to stop that 
> from getting an error and I changed it to
>
> <script src="
> 192.168.7.2:3000/preview/node_modules/socket.io/node_modules/socket.io-client/socket.io.js">
>  
> </script>
>
> I have a new Rev C Beaglebone Black running Debian.  Any suggestion or any 
> link or example I can try that can do something as simple as control a GPIO 
> from a web page?   
>

-- 
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 email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to