Skip to content

Instantly share code, notes, and snippets.

View lomassubedi's full-sized avatar

lomas lomassubedi

  • Kathmandu, Nepal.
View GitHub Profile
@lomassubedi
lomassubedi / versioning
Created July 11, 2022 10:10
software_versioning
#define v_major 4
#define v_minor 2
#define v_patch 3
uint32_t = (v_major << 16) | (v_minor << 8) | v_patch;
#define BAUD 115200UL
void setup() {
// put your setup code here, to run once:
Serial.begin(BAUD);
}
void loop() {
#include <WiFi.h>
#include <WiFiClient.h>
#include <SPI.h>
#include <Wire.h>
#include <HTTPClient.h>
#include "ArduinoJson.h"
#include "Adafruit_BME280.h"
/*
* Project : Meat Curing Chamber Controller
* Author : Lomas Subedi
* Controller : ESP WROOM - 32
*/
/*
* ------------------------
* Pin Configuration
* ------------------------
void setup() {
Serial.begin(115200);
}
void loop() {
while(Serial.available() > 0) {
Serial.write(Serial.read());
}
}