Control Global Variables with an App

Hi everyone,
I’m trying to make an app that controls the frequency (Hz) that the LED of an RSL10 board blinks as well as turning it on and off. I have a global variable set for the frequency, but can’t seem to design something to assign a value for this variable through the smartphone app. Any help would be appreciated.