Before any of the code can be copied, it is extremely important to note the correct processor, board and port as it allows the finger to work.
Your board should be:
This step isn't as scary as it looks! It's simply altering the degrees on the microservo so that it can better follow your hand movements more closely through the flex sensor.
To calibrate, we have to alter int angle = (flexSensor - 450)/1 as this is not calibrated to our finger. Find the serial monitor located in tools and bend the sensor, remember the number of the highest and lowest values.
Finding the difference of the numbers and dividing this by the number closest to 180 degrees will mean you have successfully calibrated your finger!