Skip to content

Instantly share code, notes, and snippets.

View DigantaDey's full-sized avatar

Diganta Dey DigantaDey

View GitHub Profile
@DigantaDey
DigantaDey / TimeScheduledRelayControl_v1.ino
Last active October 26, 2023 08:44
Arduino Time-based Relay Control: Automates relay based on IST hours with a manual override button. Includes status LED & serial feedback using TimeLib.h
#include <TimeLib.h>
const int relayPin = 7;
const int buttonPin = 2; // Button for manual override
const int ledPin = 13; // On-board LED to indicate relay status
// Adjustable start and end times
int startTime = 4; // 4 AM
int endTime = 19; // 7 PM
@DigantaDey
DigantaDey / keybase.md
Created September 10, 2019 17:22
Keybase

Keybase proof

I hereby claim:

  • I am digantadey on github.
  • I am diganta (https://keybase.io/diganta) on keybase.
  • I have a public key ASCzdK8rN1FrDiMtEXjAv7ndZ59cKUOhDOs9QumWEII3pgo

To claim this, I am signing this object: