Browse Source

3.14

master
BARRAUX Arthur 2 years ago
parent
commit
c094e7bf60
  1. 1
      Test extension RPI.py
  2. 6
      get_temp.sh

1
Test extension RPI.py

@ -11,7 +11,6 @@
import RPi.GPIO as GP
import time
import Adafruit_MCP9808.MCP9808 as mcp
import serial
import threading
# initialisation du raspberry

6
get_temp.sh

@ -0,0 +1,6 @@
#!/bin/bash
response = `i2cget -y 1 0x18 0x05`
upper_byte = $(($response & 0x00FF))
echo response
echo upper_byte
Loading…
Cancel
Save