need help just started with pic basic pro


Closed Thread
Results 1 to 2 of 2
  1. #1
    houa's Avatar
    houa Guest

    Smile need help just started with pic basic pro

    new to entire language
    seems fairly easy...
    this may seem like common question

    has anyone written code to set up a lcd and keypad unit

    i'm using a pic18f452 with mplab using the pbpw.exe
    lcd is connected to port b
    using 4 data ports and pins
    ebit port b pin 1
    rsbit port b pin 0

    keypad is connected to port c
    not really sure how to write code for keypad

    red led connected to port d 0
    green led connected to port d 1
    blue led connected to port d 2

    please respond with an easy example: that demonstrates this keypad n lcd feature.

    like

    (turn on program)
    lcd turns on and keypad is active
    lcd prints a greeting such as:
    "welcome"
    then after a pause it jumps to a menu
    "1. turn on red led"
    "2. turn on green led"
    "3. turn on blue led"
    the user then selects which led he wants to turn on by pushing the keypad number that corresponds to the led color.

    if anyone has a program similar to this, it would be of great help...
    i'm in the processing of learning this, so any help or code would be really appreciated.

    thanks for looking
    Last edited by houa; - 1st September 2005 at 05:05.

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

Similar Threads

  1. Looking at pic basic pro symbol values in mplab 8.15a simulator
    By ukemigrant in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 16th May 2009, 13:18
  2. I want to buy PIC BASIC PRO...
    By simransingh in forum General
    Replies: 2
    Last Post: - 30th October 2007, 17:13
  3. PIC BASIC or PIC BASIC PRO
    By kirkmans in forum USB
    Replies: 3
    Last Post: - 20th April 2007, 00:52
  4. Replies: 5
    Last Post: - 17th January 2006, 19:26
  5. How to use 93C46 Type EEPROM using PIC Basic PRo
    By in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st April 2003, 04:07

Members who have read this thread : 1

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