feat: Add Arduino fixture file for language recognition test

This commit is contained in:
Paul Gauthier (aider) 2025-03-12 14:38:43 -07:00
parent 6bb43555dc
commit 393b45dd21

View file

@ -0,0 +1,21 @@
// Simple Arduino sketch
void setup() {
// Initialize serial communication
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
// Main code that runs repeatedly
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
Serial.println("Blinking LED");
}
// A custom function
int calculateDelay(int baseDelay, int multiplier) {
return baseDelay * multiplier;
}