This file contains hidden or 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 <Notecard.h> | |
#include <stdio.h> | |
#include <string.h> | |
#define usbSerial Serial | |
#define PRODUCT_UID "your-product-uid" | |
#define DEBUG 0 | |
#define WIFI_SSID "your-ssid" | |
#define WIFI_PASSWORD "your-password" |
This file contains hidden or 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 <Notecard.h> | |
#include <stdio.h> | |
#include <string.h> | |
#define usbSerial Serial | |
#define txRxPinsSerial Serial1 | |
#define PRODUCT_UID "your-product-uid" | |
#define DEBUG 1 | |
#define NOTECARD_SKU "NOTE-XXX" // enter the appropriate Notecard SKU |
This file contains hidden or 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 <Notecard.h> | |
#include <SensirionI2cScd4x.h> | |
#include <Wire.h> | |
#include "Adafruit_SGP40.h" | |
#include <Adafruit_GFX.h> | |
#include "Adafruit_LEDBackpack.h" | |
#define usbSerial Serial | |
#define PRODUCT_UID "your-product-uid" |
This file contains hidden or 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 <Notecard.h> | |
// define IRAM_ATTR for compatibility with STM32 | |
#ifndef IRAM_ATTR | |
#define IRAM_ATTR | |
#endif | |
#define usbSerial Serial |
This file contains hidden or 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 <Notecard.h> | |
#include <Wire.h> | |
#include "SparkFun_BMP581_Arduino_Library.h" | |
#define IS_DEBUG true | |
#define PRODUCT_UID "your-unique-notehub-productuid" | |
float LAT = 10.00000; // optionally hardcode lat/lon for a stationary deployment | |
float LON = -10.00000; |
This file contains hidden or 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 <Wire.h> | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_ADXL343.h> | |
#include <Edge_Impulse_Imagine_2024_inferencing.h> // your ML library referenced here! | |
#include <Adafruit_SSD1327.h> | |
#include <Notecard.h> | |
#define DEBUG true | |
#define OLED_RESET -1 |
This file contains hidden or 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
// configuring an Arduino sketch to output Serial data over STLINK interface | |
#define serialDebug Serial | |
HardwareSerial stlinkSerial(PIN_VCP_RX, PIN_VCP_TX); | |
void setup() | |
{ | |
#ifdef serialDebug | |
stlinkSerial.begin(115200); | |
const size_t usb_timeout_ms = 3000; |
This file contains hidden or 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 <Adafruit_GFX.h> | |
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_ILI9341.h> | |
#include <Fonts/FreeSans9pt7b.h> | |
#include <Adafruit_NeoPixel.h> | |
#include <BBQ10Keyboard.h> | |
#include <Notecard.h> | |
#include "base64.hpp" |
This file contains hidden or 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 <NanoEdgeAI.h> | |
#include <Adafruit_LIS3DH.h> | |
#include <Notecard.h> | |
Adafruit_LIS3DH lis = Adafruit_LIS3DH(); | |
#define LEARNING_ITERATIONS 30 | |
float input_user_buffer[DATA_INPUT_USER * AXIS_NUMBER]; // Buffer of input values | |
#define PRODUCT_UID "<your-product-uid>" |
This file contains hidden or 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 <Wire.h> | |
#include <Adafruit_LIS3DH.h> | |
Adafruit_LIS3DH lis = Adafruit_LIS3DH(); | |
void setup(void) | |
{ | |
Serial.begin(115200); | |
while (!Serial) | |
delay(10); |
NewerOlder