lettre_maj
This commit is contained in:
parent
ea73eef314
commit
9593d00582
1 changed files with 2 additions and 3 deletions
|
@ -10,10 +10,9 @@ client:connect("student", "O99Rq8$F12NXzhL5caya")
|
||||||
|
|
||||||
function action(dir, counter, button)
|
function action(dir, counter, button)
|
||||||
cls()
|
cls()
|
||||||
lettre = string.char((counter % 26)+97)
|
lettre = string.char((counter % 26)+65)
|
||||||
--if button==1 then
|
--if button==1 then
|
||||||
console("Le lettre")
|
console("Choix lettre : "....lettre)
|
||||||
console("choisie est : "..lettre)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
enc = encoder.attach(pio.GPIO19,pio.GPIO21,pio.GPIO23,action)
|
enc = encoder.attach(pio.GPIO19,pio.GPIO21,pio.GPIO23,action)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue