Interfacing a flex sensor with a servo via bluetooth

I'm currently doing my final project

For my final project. I was expected to write code, not search the internet for it. I wouldn't give you code even if I had code that did exactly what you want. Partly, because your project is no stretch project. It isn't even remotely difficult. I could have the code written and debugged, for both ends in half an hour.