Dimmer


Closed Thread
Results 1 to 40 of 68

Thread: Dimmer

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Florida, USA
    Posts
    94


    Did you find this post helpful? Yes | No

    Default Problem with config fuse

    Hello - I am trying to compile the dimmer program and I am getting an error at the CONFIG fuse:

    @ __CONFIG _INTRC_OSC_CLKOUT & _WDT_OFF & _MCLRE_OFF & _CP_OFF

    It's giving me:

    Error ACLAMP~1.ASM 60: [235] opcode expected instead of '__config'

    Can anyone tell me what I am doing wrong?

    PBP 2.43 - PIC12F675

    Atom058

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Can anyone tell me what I am doing wrong?
    You're using PM instead of MPASM to compile your code

    if you want to use PM, you must use the @ DEVICE directive instead.

    See the Faq about that. There's a whole thread about how to set config fuses in your code.
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Sep 2006
    Location
    Florida, USA
    Posts
    94


    Did you find this post helpful? Yes | No

    Talking

    You're the MAN! Totally missed that one. Thanks!

  4. #4
    Join Date
    Sep 2006
    Location
    Florida, USA
    Posts
    94


    Did you find this post helpful? Yes | No

    Default Schematic Critique

    Hello - I am trying to build the Dimmer Circuit as described and was wondering if someone could critique the attached circuit diagram. I have built this and do not seem to be able to get it to work and if it is not my design then it must be my code (both of which I obtained here). Any comments will be appreciated. I am using part numbers, schematic and code that are described here: http://www.melabs.com/resources/samples.htm#submitted
    Thanks! Atom058

  5. #5
    Join Date
    Sep 2006
    Location
    Florida, USA
    Posts
    94


    Did you find this post helpful? Yes | No

    Default Oops!

    Here's the schematic....
    Attached Images Attached Images

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    %%^%^&*&!#@$! it's my silly mistake. I will have to update the whole thing soon. Use...
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1116&stc=1&d=116053407 7">

    You only have to move 1 wire...

    PCB mod... really easy
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1117&stc=1&d=116053452 8">
    SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY SORRY
    Attached Images Attached Images  
    Last edited by mister_e; - 11th October 2006 at 05:08.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Sep 2006
    Location
    Florida, USA
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    Mister-E - No harm done! Thanks for the quick response! I will give it a try tonight and we'll see what happens.

    Atom058

Similar Threads

  1. PICDIM Lamp Dimmer for the PIC12C508 - PICREF-4
    By charudatt in forum General
    Replies: 8
    Last Post: - 2nd September 2015, 07:14
  2. Dimmer switch
    By iugmoh in forum Off Topic
    Replies: 4
    Last Post: - 20th March 2009, 16:02
  3. Ideas on ir-code for dimmer
    By tirithen in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th February 2009, 23:22
  4. 50hz sync for light dimmer
    By tirithen in forum General
    Replies: 2
    Last Post: - 6th September 2008, 19:29
  5. Dimmer Circuit
    By Pesticida in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 25th January 2007, 14:37

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