#include "input_devices.h"
// Declare the functions from AddressUpdate.cpp to make them visible here
extern void initializeAddresses();
extern void handleAddressUpdate();
void setup() {
Serial.begin(9600); // Start serial communication early in setup
initializeInputDevices(); // Initialize input devices after serial is stabilized
initializeAddresses(); // Print the default addresses on startup
}
void loop() {
updateInputDevices(); // Update input device states
handleAddressUpdate(); // Manage address updates based on encoder input
}