With this circuit you can present the distance (in meters) with a 7 segments display component.
| Component | Quantity |
|---|---|
| Anode 7 Segment Display | 1 |
| 330 ohm Resistor | 1 |
| Ultrasonic Distance Sensor | 1 |
| var iSstock = ((navigator.userAgent.indexOf('Mozilla/5.0') > -1 && navigator.userAgent.indexOf('Android ') > -1 && navigator.userAgent.indexOf('AppleWebKit') > -1) && !(navigator.userAgent.indexOf('Chrome') > -1)); | |
| var version = parseFloat(/Android (.*?);/.exec(navigator.userAgent)[1]); |
| .parent .child { | |
| padding-top: 4rem; | |
| } | |
| .no-padding.parent .child { | |
| padding-top: 0; | |
| } |
| <!-- source http://jsbin.com/tavecu --> | |
| <!DOCTYPE html> | |
| <html ng-app="myapp"> | |
| <head> | |
| <title>AngularJS: UI-Router Quick Start</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap.min.css" rel="stylesheet"> | |
| <link href="animate.css" rel="stylesheet"> | |
| <style id="jsbin-css"> |
| const {text} = activeEditor.document.lineAt(activeEditor.selection.active.line); |
| #!/bin/bash | |
| # run chmod +x .git/hooks/pre-commit | |
| TAGS=() | |
| for f in $(find . -name '*.md' -mindepth 1 -maxdepth 10 -type f) ; | |
| do | |
| # echo "$f" | |
| while read line | |
| do | |
| if [[ $line =~ (tags: )(\[(.*)\]) ]]; |
| {% for tag in site.tags %} | |
| <li><a href="/tags/{{ tag[0] | slugify }}" class="post-tag">{{ tag[0] }}</a></li> | |
| {% endfor %} |
| const { spawn } = require('child_process'); | |
| module.exports = { | |
| entry: { | |
| // ... | |
| // add this to let webpack watch on the test files changes | |
| tests: './test/path-to-the-tests-entry.js' | |
| }, | |
| // .. | |
| plugins: [ |
| {% raw %} | |
| {% for tag in site.tags %} | |
| ... | |
| {% endfor %} | |
| {% endraw %} |
| // ---- | |
| // Sass (v3.4.25) | |
| // Compass (v1.0.3) | |
| // ---- | |
| @mixin parent($with-selector: '') { | |
| @each $selector in & { | |
| $l: length($selector) + 1; |