How To Read Sensor Value In Arduino, It also briefly explains how to use the Grove ports.