Old and beyond help ? - Page 2


Closed Thread
Page 2 of 2 FirstFirst 12
Results 41 to 47 of 47
  1. #41
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Code:
    @ device  pic16F887, intrc_osc_noclkout, mclr_off, lvp_off, protect_off, wdt_off
    Try that.
    Dave
    Always wear safety glasses while programming.

  2. #42
    Join Date
    Dec 2007
    Location
    Northants England
    Posts
    38


    Did you find this post helpful? Yes | No

    Default

    tried to interpret your config line in pm terms got the @device to work with MCLR and Lvp but didn't recognise CP. None of this made any difference. However after a lot more somewhat uneducated fiddling I find that the piece of code which seems to produce the problem is the expanding multicoloured disc bit if I remove it to the end I can get both the rotating bit and the flashall bit working. I have however just spotted a message when I compile which states:
    Warn Blink.asm599: [102] code crosses boundary @ 800h
    I think I am going to have to settle for what I have got and keep it simple... I am getting in over my head here.. Thought flashing a group of leds would be a doddle !!! although the fact that the flashall bit works would seem to rule out power supply problems as that is switching the whole lot on and off.

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


    Did you find this post helpful? Yes | No

    Default

    The above post #41 should be the config for PM.

    Read this (post #2)
    http://www.picbasic.co.uk/forum/showthread.php?t=40
    Dave
    Always wear safety glasses while programming.

  4. #44
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by DavidFMarks View Post
    I have however just spotted a message when I compile which states:
    Warn Blink.asm599: [102] code crosses boundary @ 800h
    Shouldn't have to worry about that.

    What happens if you use ONLY that chunk of code that is failing and nothing else?

  5. #45
    Join Date
    Dec 2007
    Location
    Northants England
    Posts
    38


    Did you find this post helpful? Yes | No

    Default

    k the latter as I do not really know the significance

  6. #46
    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 DavidFMarks View Post
    k the latter as I do not really know the significance
    Not sure what "k the latter" is. Does not translate well
    Dave
    Always wear safety glasses while programming.

  7. #47
    Join Date
    Dec 2007
    Location
    Northants England
    Posts
    38


    Did you find this post helpful? Yes | No

    Default

    YESSSSS!

    It's working ! Finally pinned it down to the power supply. If I supply the PIC separately from the optocoupled transistors it all works. very many thanks to all you patient and helpful souls out there without whom this particular star would never have risen in the west (or anywhere else !). When (if ?) I figure ou how to post a picture and/or video I will be happy to do so. Thanks again

    Happy Christmas

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