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
#include <WiFi.h> | |
#include <PubSubClient.h> | |
#include <ArduinoJson.h> | |
WiFiClient wifiClient; | |
PubSubClient client(wifiClient); | |
// your network information | |
const char *ssid = ""; | |
const char *password = ""; |
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 <Arduino.h> | |
#include "ISE_pH.h" | |
#include <CayenneMQTTESP32.h> | |
ISE_pH pH; | |
// your network information | |
char ssid[] = ""; | |
char wifiPassword[] = ""; |
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(); |
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_EC.h" | |
uFire_EC EC; | |
ec.measureEC(); |
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_EC import uFire_EC | |
ec = uFire_EC() | |
ec.measureEC() |
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_pH.h> | |
uFire_pH 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
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
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 <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; |
OlderNewer