Pretty cool display and development board PIC_LCD3310


Results 1 to 6 of 6

Threaded View

  1. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Hello World! example for Olimex board

    Here is an include file from the forum that has been modified/updated to work with the Olimex PIC_LCD3310 PIC18F67J50 board. Also included an example.

    Here is the LCD_3310ex.txt:
    Code:
    DEFINE OSC 48
    
    include "modedefs.bas"
    include "LCD_3310.pbp"
    start:
    pause 100
    
    gosub Lcd_Init                     'Initialize LCD
    gosub Lcd_Clear                     'Clear contents of screen
    pause 50
    
    PosX = 30                          'position 30 of 84 in the x direction
    PosY = 1                           'row 1 (of 0-5)
    gosub Lcd_GotoXY
    Lcd_Data = "H"
    gosub Lcd_SendChar
    Lcd_Data = "E"
    gosub Lcd_SendChar
    Lcd_Data = "L"
    gosub Lcd_SendChar
    Lcd_Data = "L"
    gosub Lcd_SendChar
    Lcd_Data = "O"
    gosub Lcd_SendChar
    
    
    PosX = 30                        'position 30 of 84 in the x direction
    PosY = 4                         'row 4 (of 0 to 5)
    gosub Lcd_GotoXY
    Lcd_Data = "W"
    gosub Lcd_SendChar
    Lcd_Data = "O"
    gosub Lcd_SendChar
    Lcd_Data = "R"
    gosub Lcd_SendChar
    Lcd_Data = "L"
    gosub Lcd_SendChar
    Lcd_Data = "D"
    gosub Lcd_SendChar
    Lcd_Data = "!"
    gosub Lcd_SendChar
    
    pause 5000
    
    end
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by ScaleRobotics; - 24th March 2009 at 16:09.

Members who have read this thread : 0

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