//Univeristy of Victoria VIXI Lab //May 2, 2025 //Ian Robinson //Kniterate Armband Instructable //Input active pin number below int activePin = 6; void setup() { pinMode(activePin,OUTPUT); } void loop() { int array[] = {70, 119, 216, 100, 257, 129, 239, 129, 67, 206}; //loop through array of glucose readings. Provides feedback for 10 seconds per reading for(int i = 1; i130){ //cycle quickly for(int j = 0; j<10; j++){ digitalWrite(activePin,HIGH); delay(500); digitalWrite(activePin,LOW); delay(500); } //else check for low reading }else if(array[i]<80){ //hold feedback on digitalWrite(activePin,HIGH); delay(10000); }else{ //else do nothing delay(10000); } //reset feedback and wait 1 second before reading new value digitalWrite(activePin,LOW); delay(1000); } }