temperature: added C sources and removed grove dependency

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu
2016-09-09 18:33:30 -07:00
committed by Noel Eck
parent af61f51e48
commit 67d01a9393
16 changed files with 472 additions and 10 deletions

View File

@ -22,10 +22,10 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import time
import pyupm_grove as grove
import pyupm_temperature as upm
# Create the temperature sensor object using AIO pin 0
temp = grove.GroveTemp(0)
temp = upm.Temperature(0)
print temp.name()
# Read the temperature ten times, printing both the Celsius and