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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.company.launch_beamoff</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Applications/beamoff.app/Contents/MacOS/beamoff</string> | |
</array> |
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
#define TEMPERATURE 350 | |
#define TEMPERATURE_MAX 400 | |
#define PWM_PIN 3 | |
#define PWM_MAX 245 | |
#define PID_INT_MAX (500) | |
#define PID_INT_MIN (-PID_INT_MAX) | |
#define TEMP_GAIN 0.42 |
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
# -*- coding: utf-8 -*- | |
import logging | |
import atexit | |
import RPi.GPIO as GPIO | |
class A4988Driver: | |
STEP = 18 # PWM0 | |
DIRECTION = 17 | |
MS1 = 15 |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Bash command used to launch mainflux architecture with bootstrap service: | |
# $ docker-compose -f docker/docker-compose.yml -f docker/aedes.yml up | |
# $ docker-compose -f docker/addons/bootstrap/docker-compose.yml up | |
import requests | |
import 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
#!/bin/bash | |
#=================================================================================== | |
# FILE: docker-compose.sh | |
# | |
# USAGE: docker-compose [up] [ps] [logs {-f}] [pull] [down] [clean {-a}] [restart {-c}] | |
# | |
# DESCRIPTION: Launch instance of mainflux with docker-compose. | |
# | |
# OPTIONS: see function ’usage’ below |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from flask import Flask, request | |
import json | |
import logging | |
app = Flask(__name__) | |
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 fz = require('zigbee-herdsman-converters/converters/fromZigbee'); | |
const tz = require('zigbee-herdsman-converters/converters/toZigbee'); | |
const exposes = require('zigbee-herdsman-converters/lib/exposes'); | |
const reporting = require('zigbee-herdsman-converters/lib/reporting'); | |
const extend = require('zigbee-herdsman-converters/lib/extend'); | |
const utils = require('zigbee-herdsman-converters/lib/utils'); | |
const e = exposes.presets; | |
const ea = exposes.access; | |
/*const attributes_basic = ["schneiderMeterRadioPower"]; |