Skip to content

Instantly share code, notes, and snippets.

View sidtronics's full-sized avatar

Siddhesh Dharme sidtronics

  • 17:03 (UTC +05:30)
View GitHub Profile
@sidtronics
sidtronics / stack.c
Created October 29, 2022 11:33
Simple stack implementation using linked list in C.
#include<stdio.h>
#include<stdlib.h>
typedef struct Node Node;
struct Node{
int value;
Node* next;
};
#define BLYNK_TEMPLATE_ID "*****************"
#define BLYNK_TEMPLATE_NAME "***************"
#define BLYNK_AUTH_TOKEN "*****************"
//#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
const int fan_control = D7;
const int fan_rpm = D6;