Specify PIC in code


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    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 Acetronics View Post
    Hi Dave and Normnet

    A while ago, I had been looking for such feature ( a post might remain here ...) but Halas ...

    the "usual" IDEs ( MCS and MPLAB ) need to define the processor BEFORE executing anything from the source ...

    IF it could have been made ... I'm sure it would already exist !!! no ???

    Alain
    But Norm is not making the "usual"
    The PIC select drop down in MCS pretty much does the same thing as I described. It passes the parameter at compile time. Norm just needs a way to pass that info into his command line type BAT. Kind of like using note pad.

    But no, there is not a way to do it in the normal IDEs.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    I had planned for the versions following beta several FineLine "Comment Directives" such as:
    'FL PIC18F4520
    'FL START OF SUB
    'FL END OF SUB
    but wasn't sure if a declare existed which would auto select the PICxxx for the IDE drop down menu.

    'FL PIC18F452 style Comment Directive will be added for the beta.

    Norm

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  4. PIC Code Template
    By asguard in forum mel PIC BASIC
    Replies: 4
    Last Post: - 4th December 2006, 12:28
  5. PIC vs PLC (programmable logic controller)
    By pondindustrial in forum Off Topic
    Replies: 4
    Last Post: - 17th December 2004, 21:11

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