import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setwarnings(False)
from time import sleep
from tkinter import *

Mafenetre = Tk()
Mafenetre.title("Biométrie")

texte=StringVar()
texte.set("Age :")
Label(Mafenetre,textvariable=texte).pack(padx=10,pady=10)

age_ihm=StringVar()
age_ihm.set(20)
boite=Spinbox(Mafenetre,from_=15,to=99,increment=1,textvariable=age_ihm,width=5)
boite.pack(padx=10,pady=10)

fc_ihm=StringVar()
fc_ihm.set(60)

bpm = Scale(Mafenetre,from_=40,to=200,resolution=1,orient=HORIZONTAL,length=300,width=20,label="BPM",tickinterval=20,variable=fc_ihm)
bpm.pack(padx=10,pady=10)
