@@ -0,0 +1,358 @@
+#!/usr/bin/env python%0A# coding: Latin-1%0A%0Afrom explorerhat import motor%0A%0A# If ImportError raised, the library is not installed%0A# If python exits with the following, then the device is not connected:%0A# %09Warning, could not find Analog or Touch...%0A#%09Please check your i2c settings!%0A%0A# On exit:%0A#%09$? is 0 if library and device are available.%0A#%09$? is 1 otherwise.%0A

Add a script to tell if an Explorer PHAT or HAT is available