Saturday 20 October 2012

Bad Start

So the world's smallest PIC program is also the world's worst program. Why exactly is that?

Well, for one thing, it's almost completely unreadable. All those numbers disguise what's actually going on here. We do know what one of the numbers does. The zero at the end of the first line determines which of the four LEDs lights up.

But far worse than poor readability, this program is full of bugs. So much so, that we'll have real problems moving to the next stage if we don't weed them out.

So in the next few posts, we'll fix the bugs and make the program more comprehensible, so that we can move on to making the LED flash on and off.

No comments:

Post a Comment