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> | |
<script src="jquery.min.js" type="text/javascript"></script> | |
<script src="main.js" type="text/javascript"></script> | |
<link rel="stylesheet" type="text/css" href="styles.css"> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<div id="content"> | |
<div id="heading">LED Stripe Controller</div> |
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
mesecons = | |
{ | |
receptor = | |
{ | |
state = mesecon.state. | |
rules = rules/get_rules | |
} | |
effector = | |
{ | |
action_on = function |
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
mesecons = | |
{ | |
receptor = | |
{ | |
state = mesecon.state. | |
} | |
effector = | |
{ | |
action_on = function | |
action_off = function |
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
mesecons = | |
{ | |
on_signal_on = func | |
on_signal_off = func | |
on_signal_change = func | |
recepor = bool | |
} |
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
time_setnodes = 0 | |
time_setnode = 0 | |
AMOUNT = 0 | |
function benchmark_setnodes(minp, maxp) | |
local t1 = os.time() | |
local nodes = {} | |
for x=minp.x,maxp.x do |
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
time_setnodes = 0 | |
time_setnoare = 0 | |
time_setnode = 0 | |
amount_setnodes = 0 | |
amount_setnoare = 0 | |
amount_setnode = 0 | |
function benchmark_setnodes(minp, maxp) | |
local t1 = os.time() |
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
// System | |
#include <ets_sys.h> | |
#include <osapi.h> | |
#include <gpio.h> | |
#include <os_type.h> | |
#include <user_interface.h> | |
// Project | |
#include "ws2811.h" |
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
TARGET := arucodetect | |
CXX := g++ | |
# MARKERSIZE: Marker side length in meters | |
DICTIONARY := 0 | |
MARKERSIZE := 0.2 | |
CAMPARAM := c270.yml | |
DETECTPARAM := config.yml | |
all: main.cpp |
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
$.post("http://localhost:1234/action/register_runner", JSON.stringify({name : "Kjell"}), function(response) { console.log(response); }); |
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
arucodetect |
OlderNewer