This commit is contained in:
Christian Zufferey
2020-04-16 15:51:02 +02:00
parent f133207709
commit 409f6dae74
5 changed files with 82 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
a=0.5
b=3
print(a*b)
print(a+b)
c=a*b
print("la valeur de c est: ",c)
gpio.mode(0,gpio.OUTPUT)
if c>=3 then
gpio.write(0,0)
else
gpio.write(0,1)
end