Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/24/05 07:00
Read: times


 
#102800 - Driver
Responding to: ???'s previous message
That's better, although your links are now "orphaned" in you other thread:
http://www.8052.com/forum/read.phtml?id=102796

Raghav Narasimhaj said:
How to write driver for ICM7243A in c or assembly, so that i can display message on KLA5XX

There is nothing magic nor mysterious about a "driver" - it's just another piece of software!
Therefore, you write a driver exactly the same way you'd write any other piece of software:

  • Define precisely what it needs to do;
  • Design a structure which achieves that requirement;
  • Implement your design in your chosen language for your target system.

    So, your first step is to Define precisely what you want this "driver" to do. I guess you'll want at least:
  • Clear the entire display;
  • Write a character to a given position in the display (this will include the character encoding already discussed);
  • Write a character to the "next" position in the display (here, you need to define how you will handle messages longer than the display - will you scroll, or what?)

    Once you have a clear definition of What exactly you need it to do, How to do it should follow quite easily...


  • List of 26 messages in thread
    TopicAuthorDate
    C8051F005 with KLA5XX 17segment display            01/01/70 00:00      
       Use a look table to convert            01/01/70 00:00      
          Thanks            01/01/70 00:00      
          6-bit ASCII???            01/01/70 00:00      
             Yes - just the bottom 6 bits of ASCII!            01/01/70 00:00      
       So where's the problem??            01/01/70 00:00      
       6 bit ASCII???            01/01/70 00:00      
          Wrong answer.            01/01/70 00:00      
             unnecessary            01/01/70 00:00      
                Sorry once again            01/01/70 00:00      
                   yes            01/01/70 00:00      
                      That is a must...            01/01/70 00:00      
          No, that's wrong.            01/01/70 00:00      
             Not quite "6-bit ASCII"            01/01/70 00:00      
                Thanks to everybody            01/01/70 00:00      
       driver for ICM7243A with KLA5XX            01/01/70 00:00      
          Driver            01/01/70 00:00      
       Do you need the chip?            01/01/70 00:00      
       Yes Andy Neil            01/01/70 00:00      
       Yes Andy Neil            01/01/70 00:00      
       Hi erik can you help me            01/01/70 00:00      
          Why Erik?            01/01/70 00:00      
          What question?            01/01/70 00:00      
             great            01/01/70 00:00      
                how can you finalise the hardware???            01/01/70 00:00      
                so many have a problem with the truth            01/01/70 00:00      

    Back to Subject List