This tutorial demonstrates how to control Scratch with an Arduino board. You create a variable which is linked to the potentiometer reading. This variable can then be used in the program to interact with Scratch, The same idea can be used for sensors.
Find out more at http://www.cloudeducation.co.uk
Find out more at http://www.cloudeducation.co.uk