I am trying to pass a variable for a timer between a webpage that runs online to a device that is connected to the internet that is able to have the timer be displayed on the device and count down. The device is programmed in c and the variables from the webpage are in javascript. I have very little experience with c, so I am sorry if this is basic stuff. This answer seemed to only address the problem for objective-c and I am hoping to solve it for c: How pass a value from javascript to objective-C Thanks again for helping.