lettre_maj

This commit is contained in:
vSpaike 2025-01-23 14:24:34 +01:00
parent ea73eef314
commit 9593d00582

View file

@ -10,10 +10,9 @@ client:connect("student", "O99Rq8$F12NXzhL5caya")
function action(dir, counter, button)
cls()
lettre = string.char((counter % 26)+97)
lettre = string.char((counter % 26)+65)
--if button==1 then
console("Le lettre")
console("choisie est : "..lettre)
console("Choix lettre : "....lettre)
end
enc = encoder.attach(pio.GPIO19,pio.GPIO21,pio.GPIO23,action)