Post an integer to the spark

Hi @coconut

I think it would help you to look at my tutorial for having a variable and function on one web page:

The code there is for a servo but it is very similar to what you need.

2 Likes