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
ActiveRecord::Schema.define(version: 20180530050508) do | |
# These are extensions that must be enabled in order to support this database | |
enable_extension "plpgsql" | |
create_table "countries", force: :cascade do |t| | |
t.string "name" | |
t.string "code" | |
t.datetime "created_at", null: false | |
t.datetime "updated_at", null: false |
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
{ | |
"name": "my search", | |
"default_locale": "en", | |
"homepage_url": "https://www.example.org", | |
"icons": { | |
"16": "img/icon_16.png", | |
"48": "img/icon_48.png", | |
"128": "img/icon_128.png" | |
}, | |
"manifest_version": 2, |
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
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
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 LATCH 5 | |
#define VR 6 | |
#define PRESET 7 | |
void setup() { | |
// put your setup code here, to run once: | |
pinMode(22, INPUT); | |
pinMode(23, INPUT); | |
pinMode(24, INPUT); |
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
#include <Ultrasonic.h> | |
#define _TRIG A1 | |
#define _ECHO A0 | |
Ultrasonic ult(A1,A0); | |
void setup() | |
{ | |
Serial.begin(9600); | |
Serial.print("Serial port start"); | |
} |
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
/* catena4450m102_waterlevel.ino Fri Apr 12 2019 13:25:48 dhineshkumar */ | |
/* | |
Module: catena4450m102_waterlevel.ino | |
Function: | |
Code for the Water pressure transducer with Catena 4450-M102. | |
Version: |
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
// This function decodes the records (port 1, format 0x11, 0x14, 0x15, 0x16) | |
// sent by the MCCI Catena 4410/4450/4551 soil/water, power and Water Pressure/Level applications. | |
// For use with console.thethingsnetwork.org | |
// 2017-09-19 add dewpoints. | |
// 2017-12-13 fix commments, fix negative soil/water temp, add test vectors. | |
// 2017-12-15 add format 0x11. | |
// 2018-02-02 add format 0x16. | |
// calculate dewpoint (degrees C) given temperature (C) and relative humidity (0..100) | |
// from http://andrew.rsmas.miami.edu/bmcnoldy/Humidity.html |
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
{ | |
"SX1301_conf": { | |
"lorawan_public": true, | |
"clksrc": 0, | |
"clksrc_desc": "radio_0 provides clock to concentrator", | |
"antenna_gain": 2, | |
"antenna_gain_desc": "antenna gain, in dBi", | |
"radio_0": { | |
"enable": true, | |
"type": "SX1257", |
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
{"SX1301_conf":{"lorawan_public":true,"clksrc":1,"clksrc_desc":"radio_1 provides clock to concentrator for most devices except MultiTech. For | |
MultiTech set to 0.","antenna_gain":3,"antenna_gain_desc":"antenna gain, in dBi","radio_0":{"enable":true,"type":"SX1257","freq":865200000,"rssi_offset":-166,"tx_enable":true,"tx_freq_min":865000000,"tx_freq_max":867000000,"tx_notch_freq":129000},"radio_1":{"enable":true,"type":"SX1257","freq":866385000,"rssi_offset":-166,"tx_enable":false},"chan_multiSF_0":{"desc":"Lora MAC, 125kHz, all SF, 865.0625 MHz","enable":true,"radio":0,"if":-137500},"chan_multiSF_1":{"desc":"Lora MAC, 125kHz, all SF, 865.4025 MHz","enable":true,"radio":0,"if":202500},"chan_multiSF_2":{"desc":"Lora MAC, 125kHz, all SF, 865.9850 MHz","enable":true,"radio":1,"if":-400000},"chan_multiSF_3":{"desc":"disabled","enable":false},"chan_multiSF_4":{"desc":"disabled","enable":false},"chan_multiSF_5":{"desc":"disabled","enable":false},"chan_multiSF_6":{"desc":"disabled","enable":false},"chan_multiSF_7":{" |
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
/* catena4450m102_waterlevel.ino Fri Apr 12 2019 13:25:48 dhineshkumar */ | |
/* | |
Module: catena4450m102_waterlevel.ino | |
Function: | |
Code for the Water pressure transducer with Catena 4450-M102. | |
Version: |