tkinter weg

This commit is contained in:
Robert Köpferl 2020-06-21 02:07:47 +02:00
parent 0213a268f8
commit 78a520de62
2 changed files with 0 additions and 10 deletions

View File

@ -29,7 +29,6 @@ pip3 install wiringpi
# numpy
apt -y install libatlas-base-dev
apt -y
pip3 install numpy
# Jetzt noch die Dateien positionieren und Services aktivieren

View File

@ -12,8 +12,6 @@ from pipyadc import ADS1256
# named "myconfig_2.py" for a second ADS1256 chip connected to the SPI bus.
import ADS1256_tim01_config as myconfig_2
from tkinter import *
print ("TEST")
def fetch(e):
print("NAME: ",e)
@ -24,13 +22,6 @@ def fetch(e):
name_input="Nobody"
grafanaurl="%GRAFANA_URL%" #172.23.92.63:8086/write?db=mydb&u=admin&p=PASSWORD
master = Tk()
Label(master, text="Name").grid(row=0)
e1 = Entry(master,font=("Arial", 26))
e1.bind("<Return>",fetch)
b1 = Button(master, text='Change', command=(lambda e=e1.get(): fetch(e)))
e1.grid(row=0, column=0)
b1.grid(row=0, column=1)
x_value = 0
total_1 = 1000