Results 1 to 5 of 5

Thread: Graphic LCD with ATmega32 in Just 4 line of code !

  1. #1
    Senior Member T-1000
    Join Date
    Jun 2007
    Location
    Jamshedpur/Bhubaneswar
    Posts
    421

    Smile Graphic LCD with ATmega32 in Just 4 line of code !

    Hi All,

    If you are bored of the Old character LCD switch to Graphic LCDs in NO time!

    You can use ProGFX (http://www.ProGFX.org) Embedded Graphics Engine to Write Graphical Application in NO time.

    And Above all its free.

    Just see the demo



    It was made with just four line of executable code !

    Code:
    ********************************************************************
    
    Hello World Project Using ProGFX Engine. The application just prints
    
    the text "Hello GraphicX!" at the center of 128x64 Graphical LCD
    Module.
    
    For More Information See
    
    http://www.ProGFX.org
    
    ProGFX makes it easy to interface graphical LCD modules with
    embedded microcontrollers. Currently Atmel AVR MCUs are supported.
    
    Latter PIC and ARM MCUs will also be supported.
    
    Development Environment : AVR Studio v4.17
    Compiler : WinAVR 20090313
    
    Written By
    Avinash Gupta
    me@avinashgupta.com
    
    ********************************************************************/
    
    #include <gfx.h>
    #include <font.h>
    #include <fonts/arial12.h>
    
    void main()
    {
       //Initialize ProGFX Engine
       GFXInit();
    
       //Select a font
       GFXSetFont(Arial12);
    
       //Write a simple string at center
       GFXCenterText("Hello GraphiX!",GFX_COLOR_BLACK);
    
       //Update the display
       GFXUpdate();
    
    }
    Features of ProGFX
    *Pixel Drawing
    *Line Drawing
    *Rectangle Drawing
    *Filled Rectangle Drawing
    *Circle Drawing
    *Icon/Image Drawing
    *Text Rendering
    *Number (Integer Rendering)
    *Variable width font support (You can use Any Font available under your Windows PC!)

    See gfx.h file fore documentation on the APIs

    Have Fun !!!
    Last edited by avinash_g; 08-20-2010 at 12:15 PM.
    Avinash Gupta
    ************
    www.eXtremeElectronics.co.in

  2. #2
    Senior Member T-1000 akshay66's Avatar
    Join Date
    Dec 2008
    Location
    New Delhi
    Posts
    472

    Default

    Woh thats just awesome & easy.I will surely try it.
    Redefine it your way!!!!

  3. #3
    Junior Member Newbie yaniv's Avatar
    Join Date
    Jul 2010
    Location
    Bangalore
    Posts
    10

    Default

    Page under construction :| , n e way thnx 4 sharing.

  4. #4
    Senior Member T-1000
    Join Date
    Jun 2007
    Location
    Jamshedpur/Bhubaneswar
    Posts
    421

    Default

    @Yaniv

    Page is under construction but Library is Complete !

    You can download it from the link in page.
    Avinash Gupta
    ************
    www.eXtremeElectronics.co.in

  5. #5
    Senior Member T-1000
    Join Date
    Jun 2007
    Location
    Jamshedpur/Bhubaneswar
    Posts
    421

    Default

    Hi,

    This part of tutorial teaches you how to draw pixel,lines,rectangle,circle etc on a Graphical LCDs


    http://extremeelectronics.co.in/avr-...0%93-part-iii/

    avr-gcc programmer now gets the ease of commercial compilers with built in GLCD libs
    Avinash Gupta
    ************
    www.eXtremeElectronics.co.in

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •