Hi Joe
Step 1. Follow Setting Software to configure the development environment. <LINK_TEXT text=“https://www.dexterindustries.com/GroveP … -software/”>https://www.dexterindustries.com/GrovePi/get-started-with-the-grovepi/setting-software/</LINK_TEXT>
Step 2. Git clone the Github repository.
cd ~
git clone https://github.com/DexterInd/GrovePi.git
Step 3. Excute below commands to use the grove_tilt_switch to meansure the distance.
cd ~/GrovePi/Software/Python
python grove_tilt_switch.py
thanks
Bill