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
from uFire_pH import uFire_pH | |
ph = uFire_pH() | |
ph.measurepH() |
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 <uFire_ORP.h> | |
uFire_ORP orp; | |
orp.measureORP() |
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
from uFire_ORP import uFire_ORP | |
orp = uFire_ORP() | |
orp.measureORP() |
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 "uFire_PAR.h" | |
uFire_PAR par; | |
float ppfd = par.measurePAR(); |
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 "uFire_SHT20.h" | |
uFire_SHT20 sht20; | |
float temp = sht20.temperature(); |
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
extern crate ufire_ise; | |
use ufire_ise::*; | |
let mut orp = ufire_ise::IseProbe::new("/dev/i2c-3", 0x3f).unwrap(); | |
orp.measure_mv(); |
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
extern crate ufire_ise; | |
use ufire_ise::*; | |
let mut ph = ufire_ise::IseProbe::new("/dev/i2c-3", 0x3f).unwrap(); | |
ph.measure_ph(); |
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 <nocan.h> | |
#include <ArduinoJson.h> | |
#define ARDUINO_SAMD_VARIANT_COMPLIANCE 10610 | |
#include <uFire_EC_JSON.h> | |
#include <uFire_pH_JSON.h> | |
#include <uFire_ORP_JSON.h> | |
NocanChannelId tid; | |
uFire_EC_JSON ec; | |
uFire_pH_JSON ph; |
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 <WiFiClientSecure.h> | |
#include <PubSubClient.h> | |
#include <ArduinoJson.h> | |
// your network information | |
const char *ssid = ""; | |
const char *password = ""; | |
#define Organization_ID "" // your organization | |
#define Device_Type "" // your registered device type |
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
extern crate ufire_iso_ec; | |
use ufire_iso_ec::*; | |
let mut ec = EcProbe::new("/dev/i2c-3", 0x3c); | |
let ms = ec.measure_ec(); |