Skip to content

Instantly share code, notes, and snippets.

View NihalNavath's full-sized avatar
☁️

Nihal NihalNavath

☁️
View GitHub Profile
@NihalNavath
NihalNavath / Rickroll link creator.md
Last active May 22, 2026 06:25
Rickroll link creator
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// OLED settings
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
// Pin definitions
#define TRIG_PIN 5
#define ECHO_PIN 18