PIC16F88 senior design


Closed Thread
Results 1 to 40 of 72

Hybrid View

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

    Thumbs up

    I think sometimes you might need to use WORD size VAR.

    blatentlyobvious var bit : blatentlyobvious = 0

    Check the DATA sheet, bit is not big enough.
    Dave
    Always wear safety glasses while programming.

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by mackrackit View Post
    I think sometimes you might need to use WORD size VAR.
    blatentlyobvious var bit : blatentlyobvious = 0
    Check the DATA sheet, bit is not big enough.
    How 'bout this:
    nuffsaid var bit : nuffsaid = 1 : Argument var bit : Argument = 0
    blatentlyobvious var signed_quad_double_float[10 ^ 100]
    blatentlyobvious = 0

    main:
    argument = 1 : if argument then gosub skimask
    goto main

    skimask:
    blatentlyobvious = 1 / 0
    return

    Now then...how 'bout that new, improved code AlaskanEE?

  3. #3
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216

    Default

    Quote Originally Posted by skimask View Post
    blatentlyobvious var signed_quad_double_float[10 ^ 100]
    Looks to me like an improper assignment of a variable. Check out page 21 section 4.3 of the little green book and let us know what you find out.
    Wisdom is knowing what path to take next... Integrity is taking it.
    Ryan Miller

  4. #4
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by rhino View Post
    Looks to me like an improper assignment of a variable. Check out page 21 section 4.3 of the little green book and let us know what you find out.
    Oh, that variable type is in my 'PBP' wish list, and the number of elements in that array are in my 'PIC' wish list.

Similar Threads

  1. RX TX modules - intermitent communication
    By ruijc in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 11th June 2009, 01:13
  2. pic16f88 & voltage
    By rdxbam in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th February 2009, 10:14
  3. Ghange code from PIC16F877A to PIC16F88
    By savnik in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th March 2008, 17:09
  4. Replies: 8
    Last Post: - 7th December 2006, 16:42
  5. PIC16F88 problem with TOGGLE command?
    By russman613 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th September 2006, 00:31

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