Stepper motor with L293B and pic16f648A


Results 1 to 4 of 4

Threaded View

  1. #4
    Join Date
    Sep 2006
    Location
    Mexico
    Posts
    47


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manjero View Post
    Thanks Raflex but it still doesnt work. when i use this program with the simulator it gets nothing - the stepper motor isnt even getting ready and all PORTB is not an output.
    when i used the original code - i saw the motor getting ready (green) but when i pressed the button - it didnt do anything.

    anyone?
    Check the configuration fuses, mclr, internal or external osc, etc:

    Code:
    @ DEVICE pic16F648a, INTRC_OSC_NOCLKOUT
    ' System Clock Options (HS_OSC, INTRC_OSC, INTRC_OSC_NOCLKOUT)
    @ DEVICE pic16F648a, WDT_OFF 
    ' Watchdog Timer 
    @ DEVICE pic16F648a, PWRT_OFF 
    ' Power-On Timer 
    @ DEVICE pic16F648a, MCLR_OFF 
    ' Master Clear Options (External) 
    @ DEVICE pic16F648a, BOD_ON 
    ' Brown-Out Detect 
    @ DEVICE pic16F648a, LVP_OFF 
    ' Low-Voltage Programming 
    @ DEVICE pic16F648a, CPD_OFF 
    ' Data Memory Code Protect 
    @ DEVICE pic16F648a, PROTECT_OFF 
    ' Program Code Protection
    Last edited by Raflex; - 31st March 2008 at 07:35.

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