From: <[email protected]>
Reply-To: <[email protected]>
Date: Tuesday, January 21, 2014 at 9:23 PM
To: <[email protected]>
Subject: [beagleboard] Simple web interface with BBB
> This is actually a very basic question, but I'm kind of lost right now.
> I was working on a school project with the Beagle bone black. It controls a
> bunch of motors and sensors, etc. We essentially wrote everything in C++ and
> made them into libraries of functions. They work when a main program calls the
> libraries and the function needed.
>
> Recently we have been asked to demo our progress so far, that too in just a
> few days. The main program is far from over, so we were thinking of making a
> very basic web interface that is just going to call the functions. I
> personally never did this yet, so have no idea what should I be looking at.
> Node.js and Javascript ('bonescript') seems to be a popular tutorial around,
> but can they be used to call C++ libraries? Is it possible to host a webpage
> on the board so that we can open up the page in another PC over LAN?
>
> I know this is a very basic question, but I don't want to spend too much time
> looking up the wrong methods. Any points towards the right direction would be
> appreciated.
Nodejs is your best solution. I suggest you do all your development in
Cloud9, which is a web based IDE. There is documentation on the Nodejs
website on interfacing to C and C++ code. You might want to look at
DojoToolkit for web based widgets such as button, dials, graphs, etc.
DojoToolkit plays nicely with Nodejs. There is also www.marqetta.org, which
is another web based IDE that supports DojoToolkit widgets.
Regards,
John
>
>
>
>
> --
> 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/groups/opt_out.
--
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/groups/opt_out.