Updating Core Variables with JavaScript

Hi @tkelestemur

Have you seen this tutorial that uses Spark.function and Spark.variable?

It will show you how to update a variable, servo position this case, using a slider or buttons and then read back that variable.