Quote Originally Posted by anzarsalam View Post
I have made led blinky, have made counter *simple upto 10
can make led chaser

shortly can set any any pin.. and play with o/p have studied and understannd 25 out of 37 commands of this programmer

but I am having problem.. how this controller give output on seven segment display

any suggestion?
Use lookup command. build a table using numbers representing the output of the port driving the 7 segment display. each segment is lettered, a b c d e f g, h for the dot, so if the port = 0, 1, 2 etc the lookup table has those values represented as the value of the 7 segment display example: zero on the display has segments a b c d e f , all lighted your port output if hooked up this way,segment a= port?.0, b=port?.1, c=port?.2,d=port?.3, e=port?.4, f=port?.5, g=port?.6, h=port?.7 . . . . . zero would be 00111111 or $3F, one would equal 00000110 or $06 two would equal 00111011 or $3B . . .etc etc so the lookup table would read . . $3F,$06,$3b, . . . .