tkinter weg
This commit is contained in:
parent
0213a268f8
commit
78a520de62
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue