#include <Wire.h>
#include <Adafruit_SSD1306.h>
#include <Adafruit_GFX.h>
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define OLED_RESET -1
#define SCREEN_ADDRESS 0x3C
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
// DFT Configuration
#define N_SAMPLES 64 // Number of samples (reduced from 200 for Uno memory)
#define SAMPLING_FREQ 1000 // Hz (adjust based on your signal)
void setup() {
// put your setup code here, to run once:
pinMode(10,INPUT);
pinMode(A0,INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
}