Trying to make code smaller


Results 1 to 10 of 10

Threaded View

  1. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Have you declared the variable A0? (A0 var byte)
    Have you defined the oscillator value? (DEFINE OSC 8)
    Have you declared to which pin the name "Led" belongs? (Led var PortX.x)
    Have you declared the pin to be an output? (Tris)
    Have you declared to which pin the name "button1" belongs? (button1 var PortX.y)
    Have you declared the pin to be an input? (Tris)
    Al.
    Last edited by aratti; - 2nd January 2009 at 15:06.
    All progress began with an idea

Similar Threads

  1. Code doesn't work on 16F648A
    By Mr_Joe in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st September 2018, 22:09
  2. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  3. Can someone help me make a code for this:
    By joseph in forum mel PIC BASIC
    Replies: 0
    Last Post: - 29th April 2009, 18:58
  4. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  5. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26

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