dumb question


Closed Thread
Results 1 to 40 of 94

Thread: dumb question

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    I compile that code with Micro Code Studio and
    at the first cod only blink Led no2 on the board without pressing nothing
    at the second code stay On Led no1 without pressing nothing
    and in the compiler I got this error when compiling
    Error LED2.ASM 49 : [235] opcode expected instead of '_config
    Im using Micro Code Studio with PICBASIC PRO Compiler Demo
    Last edited by osceola; - 23rd August 2009 at 02:14.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    In MCS on the toolbar click View then go to Compiler and program options. Then go to the Assembler tab. You pick MPASAM there. If the box is unchecked then PM is used.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    Ok done that,have you read my previsious post before posting?I did compile it with PM,got some errors in it but at the end got some results

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Using PM.
    Did you change the code to work with PM. The way I have it posted it is for MPASM.
    Maybe I confused things the way I did it. I was wanting to show both ways.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default

    Yes,I change code,but would be easy for start with using just 1 tipe of code.Thank you

  6. #6
    Join Date
    Aug 2009
    Posts
    56


    Did you find this post helpful? Yes | No

    Default bread

    Whats next ?

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by osceola View Post
    Whats next ?
    So you got the LEDs blinking? Did you get a button working to change the way the LEDs blink?

    Post your code so we can take a look.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. AN Question for "word" variable read The serial port
    By redfoen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th December 2007, 18:39
  2. really simple, dumb question
    By picster in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd March 2007, 23:02
  3. Question for a math guru
    By Christopher4187 in forum General
    Replies: 3
    Last Post: - 22nd November 2006, 10:45
  4. Please answer my first question
    By John_001 in forum Off Topic
    Replies: 1
    Last Post: - 15th September 2006, 07:49
  5. Dumb question
    By Christopher4187 in forum General
    Replies: 0
    Last Post: - 20th June 2006, 13:02

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