Called function that loops depending on the argument

前端 未结 1 1140
北荒
北荒 2021-01-27 23:30

I have a function LED_MAIN() whose work is to light up LEDs by calling upon another function LED_MAIN_LINE() which is private to it, meaning when I am

相关标签:
1条回答
  • 2021-01-27 23:57

    LED_NO_UP and LED_NO_DOWN are 0. So the for loops in your code are never executed because i < 0 is not possible when i = 0.

    Also you have 1<20 in the first for loop.

    0 讨论(0)
提交回复
热议问题