![]() ![]() Serial.println("Emotion Changes Detected!") //prints this in serialĭigitalWrite(LED,LOW) // when the person's state changes, it goes back to the orignal values SensorValue=analogRead(GSR) //then the sensorValue is whatever the GSR readsĭigitalWrite(LED,HIGH) //The LED output increases and is HIGH PinMode(LED,OUTPUT) // The led will light up as it is an output valueĭigitalWrite(LED,LOW) // The LED with be lowįor(int i=0 i60) // if the absolute temperature is more than 60 Serial.begin(9600) //Serial code begins at 9600 I have attached the code, I hope someone is kind enough to help before I pull my hair out! const int LED = 13 // LED in pin 13Ĭonst int GSR=A2 // GSR connected to analog 2 If I can figure it out and understand it then I can move on to bigger things, but this is really bugging me. I would appreciate if someone took the time to look at my board and help me with the circuitry. Tested to see if the LED is broken, which it isn’t all parts that I am using are in full working order. I am trying to do a simple test with my new Galvanic skin response, but can’t figure out why the LED won’t light up when it detects a change? I am not sure I wired it properly but have tried numerous ways and still no light. I am stuck on something that is probably quite simple to advanced and intermediate physical computing people, But here goes… I’m kinda new to physical computing, but I’m doing a module at uni and this is my first independent project! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |