View Single Post
  #50  
Old 12-05-2015, 03:13 PM
SteinHDan SteinHDan is offline
Green Horn
 
Join Date: Sep 2015
Location: Oslo, Norway
Posts: 188
SteinHDan is on a distinguished road
Default Re: 90 ton 1/14 metal excavator scratch build w/embedded PC

I'm doing most of my work in JavaScript these days. It's a good choice for doing anything, like web pages (all browsers run JavaScript), web server and web services (with node.js) and also robotics and RC with node.js.

To get Node.js (the runtime for JavaScript programs) onto the Raspberry, just run these two commands:

1. wget http://node-arm.herokuapp.com/node_latest_armhf.deb
2. sudo dpkg -i node_latest_armhf.deb

Now, you can write a JavaScript program in a text file (e.g. myprogram.js) and run it with node.js like this
- node myprogram.js
Reply With Quote