const int neutralPin = 2; // Neutral signal from motor controller
const int brakePin = 3; // Brake input
const int ignitionPin = 4; // Ignition switch
const int accPin = A0; // Accelerator pedal (analog)
const int buzzerPin = 6; // Buzzer
const int tsalPin = 7; // TSAL light
const int relayPin = 8; // Relay for HV circuit
bool systemEnabled = false; // Flag for system active state
bool buzzerSounded = false; // Flag for buzzer activation
void setup() {
pinMode(neutralPin, INPUT_PULLUP);
pinMode(brakePin, INPUT_PULLUP);
pinMode(ignitionPin, INPUT_PULLUP);
pinMode(accPin, INPUT);
pinMode(buzzerPin, OUTPUT);
pinMode(tsalPin, OUTPUT);
pinMode(relayPin, OUTPUT);
Serial.begin(9600);
}