-
Terminal Fenster öffnen (Symbol ">_")
-
"./start_sandbox.sh" eingeben -> enter
-
es erscheint ein Fenster "RawKinectViewer"
-
links: "Tiefenbild" der Kinect (eher blau)
-
rechts: Kamarabild der Kinect
-
Ausschnitt des Tiefenbilds vergößern, so dass Sandbox möglichst groß zu sehen ist
-
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
function isDateTimeValid(second, minute, hour, day, month, year) | |
function check(x, xmin, xmax) | |
return x >= xmin and x <= xmax | |
end | |
return check(second, 0, 59) and check(minute, 0, 59) and check(hour, 0, 23) and | |
check(day, 1, 31) and check(month, 1, 12) and check(year, 0, 99) | |
end |
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
-- The MIT License (MIT) | |
-- Copyright (c) 2018,2020 Thomas Mohaupt <thomas.mohaupt@gmail.com> | |
-- year: 2-digit (means 20xx) or 4-digit (>= 2000) | |
function datetime2epoch(second, minute, hour, day, month, year) | |
local mi2sec = 60 | |
local h2sec = 60 * mi2sec | |
local d2sec = 24 * h2sec | |
-- month to second, without leap year | |
local m2sec = { |
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
public class DirectoryCollector implements Collector { | |
private final PlainFileFilter fileFilter; | |
public DirectoryCollector(PlainFileFilter ff) { | |
fileFilter = ff; | |
} | |
@Override | |
public List<FileData> collect(Path path) { |
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
@ECHO off | |
cd "D:\Daten\Skripte\" | |
start /min cmd /c watchdog.cmd | |
c:\Windows\SysWOW64\cscript.exe "D:\Daten\Skripte\Sync.vbs" %* | |
del watchdog_starttimestamp.ts 2> nul |
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
-- Tested with | |
-- NodeMCU 3.0.0.0 built on nodemcu-build.com provided by frightanic.com | |
-- branch: release | |
-- commit: d4ae3c364bd8ae3ded8b77d35745b7f07879f5f9 | |
-- release: | |
-- release DTS: 202105102018 | |
-- SSL: false | |
-- build type: float | |
-- LFS: 0x0 bytes total capacity | |
-- modules: bit,file,gpio,net,node,spi,tmr,uart,ucg,wifi |
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
esptool.py --port /dev/tty.wchusbserialfa1* --baud 115200 write_flash 0x00000 nodemcu-master-10-modules-2016-08-21-14-41-09-float.bin 0x3fc000 esp_init_data_default.bin -fm=dio -fs=32m |
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
-- | |
-- send DHT22 sensor values to influxdb database | |
-- | |
LOCATION = "upstairs.bathroom" | |
-- ################################# | |
INFLUXDB_HOST = "sun.thomo.de" | |
INFLUXDB_DB = "lhw5" |
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
-- pin = 3 -- GPIO0 | |
pin = 4 -- GPIO2 | |
FLOAT_FIRMWARE = (1/3) > 0 | |
function readDht() | |
status, temp, humi, temp_dec, humi_dec = dht.read(pin) | |
if status == dht.OK then | |
if FLOAT_FIRMWARE then | |
-- Float firmware using this example |
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
-- Tested with | |
-- NodeMCU 3.0.0.0 built on nodemcu-build.com provided by frightanic.com | |
-- branch: release | |
-- commit: d4ae3c364bd8ae3ded8b77d35745b7f07879f5f9 | |
-- release: | |
-- release DTS: 202105102018 | |
-- SSL: false | |
-- build type: float | |
-- LFS: 0x0 bytes total capacity | |
-- modules: bit,file,gpio,net,node,spi,tmr,uart,ucg,wifi |