

And tonight he took me out for a night on the town in Key West, where I frolicked and danced with many other queens of all sorts, and a few in really spectacular drag. Gonna crush the shit outta my fears in 2014.! So grateful for this experience and so proud of myself for doing something that terrifies me. I felt like I was a part of their community. I loved my teacher Sarah, as well as everyone else on the boat. I was really missing andy, but I think that it was even more empowering because I had to do it solo. I took my mask on and off underwater, was able to complete all of my diving skills and best of all, my air consumption was the lowest on the boat (which was a reflection of how calm I was). It was exciting to not only be underwater, but to be so comfortable and confident. And I did it! I talked to my Dad a lot on the boat ride out to the reef, asking for some guidance and strength (the conversation actually went "dad, please help me.I don't want to be such a pussy!"). That it was only because you didn’t realize how it applied.Well, Andy peer pressured me into doing this dive certification, and then got so sick (first head cold, then sea sick, then his ears.) so I had to do it solo. i’m really sorry but i’m completely new at this. i’m not able to see how I can use that code in my code. that code u gave has to do with a lcd screen and pressing buttons. You can delete everything else…But if I deleted it before explaining then you wouldn’t realize that when you said etc.) The only thing relevant is what I just explained. Now do you understand ? Now do you realize that EVERYTHING ELSE IN THE PROGRAM I POSTED IN MY LAST POST IS IRRELEVANT (LCD etc. so now your values are 200 and 800, and you have to delete the three you no longer need from the array and change the array declaration to an array of 2. Convert ADC value to key number Now imagine that you have tested the code and verified that it works, you can eliminate THREE of the positions (like the three between 1 and 5, which is 2,3, &4. Since the key assignment statement is assigning the value represented by the function get_key with value measured on the wiper, that means the program next must run the code for the function get_key to resolve the value of the variable key. I am not changing anything in the code so you can see why the code applies to your application.

(this is just a piece of the code to explain it)ĭo you see the statement " key = get_key(adc_key_in) : That reads the pot wiper, calls the function to determine the position using the name of the variable as the argument of get_key function. Key = get_key(adc_key_in) // convert into key press Now look at the program in the last post an find this : adc_key_in = analogRead(0) // read the value from the sensor (Just image you lever has five positions ok ?)(so you can understand it. This is the declaration for an integer array containing five values.
