Android Question IOIO

yenky

New Member
Licensed User
Longtime User
Bonjour, je voudrais faire incrémenter les leds de 1 a 255 comment faire.

Sub btnLED_CheckedChange(Checked As Boolean)
led1.Write(btnLED.Checked)
led2.Write(Not(btnLED.Checked)) ' Turn on/off stat LED, active LOW
End Sub

avec une boucle du genre
for a = 1 to 255
led+a.write(true)
next a

merci pour la réponse.
 

Beja

Expert
Licensed User
Longtime User
Hi,
Is this translation correct?
">Hello, I want to increment the LEDs 1 to 255 how.
">Sub btnLED_CheckedChange (Checked As Boolean) ">led1.Write (btnLED.Checked) ">led2.Write (Not (btnLED.Checked)) 'Turn on / off stat LED, active LOW End Sub

If yes, then may I ask how a button can have a Checked property?
 
Upvote 0
Top