alvin 0 Posted October 29, 2019 Share Posted October 29, 2019 Yo, there Im using a tm4c1294nctd, Im wondering how to modify the existing blink example to make the internal led (D2/PF4) blinks randomly instead of a fixed time. Im trying to modify the digitalWrite(LED, HIGH); digitalWrite(LED, HIGH); with someting like digitalWrite(LED[j], HIGH); j = (j+1) % 5; But I realized this is gonna run over a given number of leds instead of time. I humbly request ideas. Thanks in advance!!! Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.