Nokia COLOR LCD PicBasicPro 2.50a example code


Results 1 to 40 of 50

Threaded View

  1. #1
    skimask's Avatar
    skimask Guest

    Default Nokia COLOR LCD PicBasicPro 2.50a example code

    Some basic example code for the Nokia Color LCDs found in a lot of cellphones.
    Basic code, prints text, in up 256 colors (out of 4096 possible, and the controller/firmware is actually capable of 18 bit color, but I can't tell the difference), clear screen, a method for printing variables (bits, bytes, words, and longs), x/y plotting, etc.

    The code with all of the neat graphic functions like circles, lines, boxes, waves, etc. will be here eventually.

    Cut and paste this into eBay's search bar to find LCDs that are compatible with this code:

    nokia -6620 -6230 -6061 -3220 -73* -n9* -52* -77* -6500 -57* -53* -88* -6101 -6126 -6265 -6680 -e6* -6288 -n7* -6133 -8600 -6300 -6230i -6010 -5610 -9300 -3310 -5110 -8810 -n8* -3250 -5500 -6111 -6280 -8850 -6120 -3360 -6360 -6600 -3230 -8210 -e90 -n93 -e5* -1110 -8910

    Sparkfun also has these displays:
    http://www.sparkfun.com/commerce/pro...roducts_id=569

    And check out sparkfun for adapter boards to plug it in:
    http://www.sparkfun.com/commerce/pro...roducts_id=600

    And the connector if you want to plug it in yourself somehow: (also available at Digikey and Mouser, just have to search for it)
    http://www.sparkfun.com/commerce/pro...roducts_id=570
    Code is originally written for a PIC18F4620 running at 40Mhz. If the LCD is mounted close, and you're relatively sure the signal is strong, you can get rid of the extra sdata lines in the togglesclock block to make writing to the LCD much faster. I had to add the extra 'delay' because my LCD was connected to the PIC on a 6ft cable.

    The font table requires a PIC with 1K of EEPROM (the basic font table will fit in 512 bytes, ASCII 0 thru 127), so the PIC choices are a bit limited in that respect. This font table is copied into RAM on startup so it can be easily modified if needed. Or I suppose a person could easily change the code to put the table into program memory easily enough and read it out from there.
    Attached Files Attached Files
    Last edited by skimask; - 16th February 2008 at 09:40.

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. PicBasicPro Code help!
    By michel in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th June 2008, 15:43

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

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