Nothing in that code would appear to turn LEDs off (assuming dioX_enabled() turns them on).
You have never initialised the bools, so they contain whatever rubbish data is in the memory location allocated to them until you set them.Any suggestions? I can't seem to see why it does that.
Bookmarks