Jump to content
43oh

alvin

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. 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!!!
×
×
  • Create New...