Code

Some random pieces of code that may be of use.

Binary definitions: there is no standard format for binary numbers in C, yet they are very commonly used in embedded programming. This file simply defines preprocessor constants of the form b0101, b11110000, etc. Includes 2, 3, 4, and 8 bit constants, and an additional 8 bit set intended for small bitmaps, used in the bitmap font below.
http://files.arklyffe.com/bindefs.h

8×8 bitmap character font: used to display text on graphical LCDs or POV displays. Requires bindefs.h above.
http://files.arklyffe.com/charfont.h
http://files.arklyffe.com/charfont.c

Driver for HD44780/KS0066U-compatible character LCDs connected through a 74595 shift register via SPI:
http://files.arklyffe.com/shiftlcd.h
http://files.arklyffe.com/shiftlcd.c

One comment

  1. pournima says:

    i want to do it…i want more information about implementing.i have done MCU projects but first time,trying FPGA.so need more about whole project.

Leave a Reply

Your email address will not be published. Required fields are marked *