English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Where can i find the source code for 7-segment display (using Motorola HC11)?

Thanks!

2007-07-27 16:47:26 · 2 answers · asked by FoongLing 1 in Computers & Internet Programming & Design

2 answers

Gee, there are so many ways to do this...

One possibility is you assign one "byte" to this, which would have 8 bits, and you put 7 of those to 7 segments.

Then you create a lookup table, 0 to 9, (or add A-F if you really want to).

So to create a display, you write one digit, look it up on lookup table, pull the appropriate byte, and send that as the output.

Generically speaking, of course.

2007-07-27 16:53:52 · answer #1 · answered by Kasey C 7 · 0 0

http://claymore.engineer.gvsu.edu/~hultmane/Egr_450/Report/450Proj.html

2007-07-27 16:50:44 · answer #2 · answered by SweetBabyLucky 2 · 0 0

fedest.com, questions and answers