Don't worry about your English.
It's the BASIC Language that's subject...
Let's see ... power-on 20%, push a button 40% .. etc.. etc... off after 100%
Code:brightness = 51 Main: WHILE buton pwm led,brightness,cycle WEND if brightness != 255 brightness = brightness + 51 else brightness = 0 endif WHILE !buton pwm led,brightness,cycle WEND GOTO Main






Bookmarks