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
23:04:58.497 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/preferences/actuators 200 { | |
"actuators" : [ | |
{ | |
"internal_name" : "LED_Y", | |
"relay_params" : { | |
"mode" : "impulse", | |
"impulse_duration" : 1 | |
}, | |
"approved_hidden" : false, | |
"actuator_type" : "Wired", |
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
Стаканчик Karjalan | |
Мягкий, очень ванильно-ароматицированный, возможно с растительными жирами? | |
4 из 10 | |
Настоящий пломбир, «Бодрая Корова». | |
Твёрдый, сливочный вкус, довольно ванильный. | |
Сладкий, но в меру. Жирный. | |
7 из 10 | |
Пломбир Белое Золото, «Талосто» |
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
19:56:33.011 | <-- GET objects/55e6b31d-22ef-4512-8c8b-85f5e59ee19a/9557/actuators 200 { | |
"actuators" : [ | |
... | |
{ | |
"relay_params" : { | |
"mode" : "impulse", | |
"impulse_duration" : 5 | |
}, | |
"id" : "299e5dca-c128-4273-91f2-eb6c7baa28b1", | |
"type" : "Relay", |
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
ffmpeg -flags2 showall -i "https://silo1.staging-video.dev.cnord.net/playlist/v1/98ca8343-2b70-4f55-add9-d50d0c88ce99/hq?sign=8FcCO5JT3y2ApPfthBwvTQ&valid_until=1596127589" video.mp4 | |
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers | |
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4) | |
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype |
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
//***************************************************************** | |
void updateButtons() { | |
// Cycle through Button array | |
for (int i = 0; i < NUMBER_BUTTONS; i = i + 1) { | |
byte message = BUTTONS[i]->getValue(); | |
bool buttonJustReleased = (message == 0); | |
bool buttonLongPressed = (message == 3); |
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
byte Button::getValue() | |
{ | |
// If BUSY bit not set - read button | |
if (bitRead(_status, 0) == false) { // If busy false | |
if (digitalRead(_pin) == _last) { | |
if (_last == 0 && bitRead(_status, 2) == false && millis() - time > 2000) { | |
bitSet(_status, 2); // Set long pressed to true | |
return 3; // Long press | |
} | |
return 2; // If same as last state - exit |
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
ускорение за вычетом гравитации.x,ускорение за вычетом гравитации.y,ускорение за вычетом гравитации.z,ускорение полное.x,ускорение полное.y,ускорение полное.z,гравитация.x,гравитация.y,гравитация.z,проекция на вертор гравитации,разница с предыдущим вектором,предыдущая разница,отношение разницы на предыдущую :),отношение разницы на предыдущую (опять),среднее предыдущее значение проекции (3 значения),среднее значение проекции 10 отметок назад (3 значения) | |
+0.1,+0.5,-0.4,+0.3,+1.5,-0.3,+0.2,+1.0,+0.0,+0.50,-0.45,+0.39,+1.16,+1.16,+0.57,+0.12 | |
-0.2,-0.2,-0.5,-0.0,+0.7,-0.5,+0.2,+1.0,+0.0,-0.28,-0.79,-0.04,+19.83,+19.83,+0.68,-0.00 | |
-0.3,-0.5,-0.3,-0.2,+0.5,-0.3,+0.2,+1.0,+0.0,-0.53,-0.25,-0.62,+0.40,+0.40,+0.39,-0.07 | |
-0.3,-0.3,-0.1,-0.2,+0.7,-0.1,+0.2,+1.0,+0.0,-0.30,+0.23,-0.52,+0.44,+0.44,-0.10,-0.07 | |
-0.1,+0.1,-0.0,+0.0,+1.1,-0.0,+0.2,+1.0,+0.0,+0.04,+0.34,-0.01,+33.68,+33.68,-0.37,+0.02 | |
+0.0,+0.1,+0.1,+0.2,+1.1,+0.1,+0.1,+1.0,+0.0,+0.13,+0.10,+0.29,+0.34,+0.34,-0.27,+0.25 | |
+0.1,+0.1,+0.1,+0.2,+1.1,+0.1,+0.1,+1.0, |
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
Up Beats | |
acceleration (no gravity): (+0.0, +0.0, +0.0), total acceleration: (+0.1, -0.1, -1.0), g=(+0.1, -0.1, -1.0), projection: -0.02, difference with prev: -0.01 | |
acceleration (no gravity): (+0.0, +0.0, +0.0), total acceleration: (+0.1, -0.0, -1.0), g=(+0.0, -0.1, -1.0), projection: -0.04, difference with prev: -0.03 | |
acceleration (no gravity): (-0.0, +0.0, +0.0), total acceleration: (+0.0, -0.0, -1.0), g=(+0.0, -0.1, -1.0), projection: -0.05, difference with prev: -0.01 | |
acceleration (no gravity): (-0.0, +0.0, +0.0), total acceleration: (-0.0, -0.0, -1.0), g=(+0.0, -0.1, -1.0), projection: -0.05, difference with prev: +0.00 | |
acceleration (no gravity): (-0.0, +0.1, +0.1), total acceleration: (-0.0, +0.1, -0.9), g=(+0.0, -0.0, -1.0), projection: -0.07, difference with prev: -0.02 | |
acceleration (no gravity): (-0.0, +0.1, +0.1), total acceleration: (-0.0, +0.1, -0.9), g=(+0.0, -0.0, -1.0), projection: -0.08, difference with prev: -0.01 | |
acceleration (no gravity): (-0.1, +0.1, +0.0), total acceleration: (-0.1, +0.1 |
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
Down Beats | |
acceleration (no gravity): (+0.0, +0.1, +0.4), total acceleration: (+0.1, -0.1, -0.6), g=(+0.0, -0.2, -1.0), projection: -0.43, difference with prev: -0.11 | |
acceleration (no gravity): (+0.0, +0.1, +0.5), total acceleration: (+0.1, -0.1, -0.5), g=(+0.0, -0.2, -1.0), projection: -0.52, difference with prev: -0.09 | |
acceleration (no gravity): (-0.0, +0.1, +0.6), total acceleration: (+0.0, -0.1, -0.4), g=(+0.0, -0.1, -1.0), projection: -0.63, difference with prev: -0.11 | |
acceleration (no gravity): (-0.0, +0.1, +0.7), total acceleration: (-0.0, -0.1, -0.3), g=(+0.0, -0.1, -1.0), projection: -0.66, difference with prev: -0.03 | |
acceleration (no gravity): (-0.0, +0.1, +0.6), total acceleration: (-0.0, -0.0, -0.4), g=(+0.0, -0.1, -1.0), projection: -0.56, difference with prev: +0.10 | |
acceleration (no gravity): (-0.0, +0.0, +0.4), total acceleration: (-0.0, -0.1, -0.6), g=(+0.0, -0.1, -1.0), projection: -0.43, difference with prev: +0.13 | |
acceleration (no gravity): (-0.1, +0.0, +0.3), total acceleration: (-0.1, -0 |
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
acceleration (no gravity): (+0.0, -0.5, -0.1), total acceleration: (-0.0, +0.5, +0.1), g=(-0.1, +1.0, +0.2), projection: -0.47, difference with prev: -0.00 | |
acceleration (no gravity): (+0.0, -0.5, -0.1), total acceleration: (-0.0, +0.5, +0.1), g=(-0.1, +1.0, +0.2), projection: -0.48, difference with prev: -0.01 | |
acceleration (no gravity): (+0.0, -0.5, -0.1), total acceleration: (-0.0, +0.5, +0.1), g=(-0.0, +1.0, +0.2), projection: -0.49, difference with prev: -0.01 | |
acceleration (no gravity): (+0.0, -0.5, -0.1), total acceleration: (-0.0, +0.5, +0.1), g=(-0.0, +1.0, +0.2), projection: -0.50, difference with prev: -0.01 | |
acceleration (no gravity): (+0.0, -0.5, -0.0), total acceleration: (-0.0, +0.5, +0.2), g=(-0.0, +1.0, +0.2), projection: -0.51, difference with prev: -0.02 | |
acceleration (no gravity): (+0.2, -0.8, +1.0), total acceleration: (+0.2, +0.2, +1.2), g=(-0.0, +1.0, +0.2), projection: -0.61, difference with prev: -0.09 | |
acceleration (no gravity): (+0.1, -0.5, +0.9), total acceleration: (+0.1, +0.5, +1.1), g |