- instalace samotného Arduino IDE + ostatní možnosti
- přidat knihovny
- ukázat i blynk.cc?
- ukázat rozblikání ledky
- ukázat web server
- senzory - řící co za senzor jsme vybrali
- propojit senzor a nechat si vypisovat hodnoty na serial
- založit účet na thingspeak
- začít posílat data do grafu
- vyřešit sleep mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packages": [ | |
{ | |
"name": "ATTinyCore", | |
"maintainer": "Spence Konde", | |
"websiteURL": "https://github.com/SpenceKonde/ATTinyCore", | |
"email": "", | |
"help": { | |
"online": "" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Tree.js demo earth</title> | |
</head> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/three.js/84/three.min.js"></script> | |
<script type="text/javascript" src="http://threejs.org/examples/js/controls/TrackballControls.js"></script> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const board = [[0,0], [1,1], [0,1]]; | |
const neigh = ([x,y]) => [[x-1, y], [x, y-1], [x+1, y+1], [x, y+1], [x+1, y],[x-1, y-1], [x-1, y+1], [x+1, y-1]]; | |
let mapcat = fn => transduce(map(fn), concat,[]); | |
const filterIndexed = addIndex(filter); | |
const cellFromKey = (key) => compose(map(Number), split(','))(key); | |
const isAlive = (i, counts, board) => contains(cellFromKey(keys(counts)[i]), board); | |
const golRules = (counts, board) => (x, i) => x === 3 || (x===2 && isAlive(i, counts, board)); | |
const filterSurroundings = (board) => (counts) => filterIndexed(golRules(counts, board))(counts); |
Ivan Doležal ivan.dolezal@gmail.com https://www.linkedin.com/in/octopuss +420724621005 Jungmannova 1405, 50005 Hradec Králové, Czech Republic
As an experienced Team Leader and developer I like to solve problems and help people getting job done. With my skills and more than 12 years of experience in application development I can help your company to fulfil your goals and objectives.
- Experienced J2EE/Spring framework based application developer
- Buy D1 mini board from China
- Buy D1 mini relay shield from China
- Get some power cable, bulb holder and bulb at your local HW store
- Prepare some micro USB cable
- Download at www.arduino.cc
- Add new board manager url in preferences - http://arduino.esp8266.com/stable/package_esp8266com_index.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("First"); | |
var p = new Promise((ok, reject) => { | |
try { | |
console.log("Second"); | |
ok(); | |
} catch (err) { | |
reject(); | |
} | |
}); | |
p.then(() => {console.log("Fourth")}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function greet(who) { | |
try { | |
console.log("(2) Greet is beeing composed, and printed second because no await was present yet") | |
var greeting = await composeGreet(who); | |
console.log ("(5) Greet composed and promise fullfilled"); | |
console.log("(6) " + greeting); | |
} catch(error) { | |
console.error(error); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Cell { | |
public $x; | |
public $y; | |
public $surroundings = []; | |
public function __construct($x, $y) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Running sql blob exporter"); | |
var mysql = require('mysql'); | |
fs = require('fs'); | |
var connection = mysql.createConnection({ | |
host : 'localhost', | |
user : 'root', | |
password : '', | |
database :'arto' | |
}); |
NewerOlder