Node.js Syntax Explanation

The v1 and v9 are virtual pin functions…

http://help.blynk.cc/getting-started-library-auth-token-code-examples/blynk-basics/what-is-virtual-pins

V1 looks to be for a Slider or Button Widget (you have to set this up in the App) and it will display the value of such, as you move or press it, in the RPi console display (AKA the terminal window from which you started the script)

V9 is for a Display widget (you have to set this up in the App as well and set it for a reading rate - set for 1 second)… which means the widget calls the function every second and the function send back the RPi’s current clock seconds (from 0-60)

That is what I call direct pin manipulation and is fine for simple tasks, but writing code and functions gives much more control.

I have some NodeJS examples here