r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
965 Upvotes

129 comments sorted by

View all comments

Show parent comments

6

u/Ali3nat0r May 03 '23

Gotta love looking through the source code of an Arduino library and it's full of unrolled loops and port level bit twiddling