Raspberry pi with Blynk (Code questions)

I’m trying to send a sensor data to the blynk app in LCD wedget. And also message alert to my mobile phone. Can anyone please tell me how to write a code for this in c language.

How to write a program for reading a flex sensor value. And based upon the value of that flex sensor my Blynk LED’s should change like Green Yellow Red.
Can you please help me for that.

Thanks in advance.

Hello, we do not make or teach programming here… but this forum has many references for you to learn from…

http://help.blynk.cc/getting-started-library-auth-token-code-examples/blynk-basics/how-to-display-any-sensor-data-in-blynk-app

Blynk - RE-SEAR-CH