Skip to content
Browse files

Cleaned up. Getting ready for alpha release

  • Loading branch information...
1 parent a826e20 commit 93644e384efcaf27a60a24a6437862be9fa4a0a2 @sbstjn sbstjn committed Mar 6, 2012
Showing with 25 additions and 10 deletions.
  1. +1 −0 .gitignore
  2. +17 −0 package.json
  3. +2 −6 public/scripts/app.walkLED.js
  4. +2 −2 views/example-walkLED.jade
  5. +1 −1 views/getting-started.jade
  6. +2 −1 views/home.jade
View
1 .gitignore
@@ -1 +1,2 @@
+node_modules/
.DS_Store
View
17 package.json
@@ -0,0 +1,17 @@
+{
+ "author": "Sebastian Müller <c@semu.mp>",
+ "name": "noduino",
+ "description": "Arduino framework for fuck*ng mad scientists",
+ "version": "0.0.1",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/semu/noduino.git"
+ },
+ "dependencies": {
+ "serialport": "*",
+ "colors": "*",
+ "kickstart": "*",
+ "socket.io": "*",
+ "requirejs": "*"
+ }
+}
View
8 public/scripts/app.walkLED.js
@@ -80,13 +80,9 @@ require(["jquery", pv + "dropdown.js", pv + "prettify.js", pl + 'Noduino.js', pl
board.withButton({pin: 2}, function(err, Button) { addButton(Button); $('#btn-02').click(function(e) {e.preventDefault(); Button.setOn(); Button.setOff(); }); });
board.withButton({pin: 4}, function(err, Button) { addButton(Button); $('#btn-04').click(function(e) {e.preventDefault(); Button.setOn(); Button.setOff(); }); });
board.withAnalogInput({pin: 'A0'}, function(err, AnalogInput) {
- $('#interval-slide').change(function(e) {
- AnalogInput.set($('#interval-slide').val());
- });
-
AnalogInput.on('change', function(a) {
- //$('#interval-slide').val(a.value);
- //$('#interval-value').val(a.value + 'ms');
+ $('#interval-slide').val(a.value);
+ $('#interval-value').val(a.value + 'ms');
walkLED.interval = a.value; startSequence(walkLED.direction, walkLED.interval);
});
});
View
4 views/example-walkLED.jade
@@ -39,7 +39,7 @@ header#overview
.btn-group
.btn.btn-dir#btn-02 &raquo;&raquo;
.btn-group
- input.range#interval-slide(type="range", min="0", max="1024", step="1", value="320")
+ input.range#interval-slide(type="range", min="0", max="1024", step="1", value="320", disabled="disabled")
input.interval#interval-value(type="input", value="320ms",disabled="disabled")
.row.info#connection-status
.span12
@@ -57,7 +57,7 @@ header#overview
| , all needed JavaScript is stored in
code public/scrupts/app.walkLED.js
| using
- a(href="#") RequireJS
+ a(href="http://requirejs.org/") RequireJS
| for loading dependencies. Please see RequireJS's manual for loading your scripts. Logging is done with the customized
code Logger.HTML.js
| in
View
2 views/getting-started.jade
@@ -15,7 +15,7 @@
.hero-unit
img(src="/images/getting-started/2.png")
h2 Start Noduino and have fun!
- p Start Noduino's WebSocket Server with <code>node srv.web.js</code>, connect your prepared Arduino and open <a href="http://localhost:8080">http://localhost:8080</a> with your Browser.
+ p Start Noduino's WebSocket Server with <code>node srv.web.js</code>, connect your prepared Arduino, open <a href="http://localhost:8080">http://localhost:8080</a> with your browser and have fun. If you run into any problems during the provided examples please restart <code>srv.web.js</code>, there are some known issues on getting a connection if your browser has already connected or you are using multiple tabs. Keep in mind that Noduino is highly alpha software…
br
.hero-unit
img(src="/images/getting-started/3.png")
View
3 views/home.jade
@@ -154,4 +154,5 @@ section#homeContent
| it's easy to get started with basic prototyping. The already existing
a(href="#") duino
| project helped developing the first steps and is now an imported part of noduino's core components. Thanks to the Open Source community, you made this possible. Keep up the good work!
- p Some might think <em>What the f*ck is happening here? Are you insane?</em> But I can assure you I'm not crazy, my mom had me tested…
+ p Some might think <em>What the f*ck is happening here? Are you insane?</em> But I can assure you I'm not crazy, my mom had me tested…
+ p Please keep in mind Noduino is in a very early development state, all code is highly alpha and you should not build something serious on it. There are several known bugs, if you run into any problems with the provided examples just restart Noduino and try again ;) Did I mention is an early alpha version?

0 comments on commit 93644e3

Please sign in to comment.
Something went wrong with that request. Please try again.