added some top stuffs to analogTo7Seg.c