12f629 vs ATtiny 11L


Results 1 to 12 of 12

Threaded View

  1. #6
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    This isn't anything very advanced. @ GOTO $+1 is just a simple assembler instruction
    telling it to goto here (which is the current instructions address) +1, which is just the
    next instructions address.

    This just eats two instruction cycles, and gives you the required delay time in instruction
    cycles to generate the frequency you were looking for.

    The graphic attachment is just an MPLAB logic analyzer screen capture to show you the
    actual timing on the output pin.

    You could do the same thing with just a few @ NOP instructions between the GPIO.0 = 1
    and GPIO.0 = 0.

    It's really simple stuff.
    Last edited by Bruce; - 8th March 2009 at 22:29.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Input problems with 12F629?
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 24th April 2018, 07:25
  2. 12F629 LDR - Light Dependant Resistor
    By Dennis in forum Schematics
    Replies: 15
    Last Post: - 18th February 2010, 23:33
  3. 12f629 config settings
    By Dennis in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st December 2009, 23:39
  4. Basic help for 12F629
    By Gene Choin in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd September 2009, 05:06
  5. Servo control with 12F629
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th June 2005, 00:34

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