Joistik ile led yakma çalışması yapıyorum.Ledleri istediğim yönde yakıyorum fakat joistik kolunu bıraktığım zaman led sönüyor.Ben ise joistiğin tek yönüne (son noktasına) bir kere basıp bırakıldığı zaman,joistiği bıraksamda led yanmaya devam etsin istiyorum ve söndürürkende aynı yöne aynı hareketi yapayım ve led sönsün.
İf komutu kullanarak joistikle led yaktım. Destek olabilirmisiniz?
I'm working on turning on the led with the joystick. I light the leds in the direction I want, but when I release the joystick, the led turns off. On the other hand, when I press and release one direction of the joystick (last point) once, I want the led to continue to light even if I release the joystick. let it go out.
I lit the led with the joystick using the if command. Can you support? "
@kolaha ;Bu yazdığım kod ile joistik butonunun tek tarafında sonuna bastığım zaman led yanıyor ve bıraktığım zaman sönüyor. Ben ise joistiği bıraktığım zaman da yanmasını ve tekrar aynı işlemi yapıp sönmesini istiyorum.