mytutorialcafe.com
Discussion All About Microcontroller and Computer Interfacing
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
mytutorialcafe.com Forum Index
->
Interfacing with Microcontroller
Post a reply
Username
Subject
Message body
Emoticons
View more Emoticons
Font colour:
Default
Dark Red
Red
Orange
Brown
Yellow
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Violet
White
Black
Font size:
Tiny
Small
Normal
Large
Huge
Close Tags
Options
HTML is
OFF
BBCode
is
ON
Smilies are
ON
Disable BBCode in this post
Disable Smilies in this post
All times are GMT
Jump to:
Select a forum
Basic Microcontroller
----------------
89s51 Programmer
Interfacing with Microcontroller
Timer/ Counter Microcontroller Application
Serial RS232 communication
Advance Microcontroller
----------------
Microcontroller Projects
Computer Interfacing
----------------
Serial RS232 Communication
Interfacing Bidirectional LPT
Robot Building
----------------
Building Robot with uC less
Building robot with Microcontroller
Topic review
Author
Message
Erick
Posted: Thu May 11, 2006 3:04 am
Post subject: Motor stepper
You should use interrupt function INT0 or INT1 to detect whenever a swich is pushed On or OFF.
Org 0h
sjmp start
org 03h ; Interrupt vector address
sjmp InterruptMotor
;
start:
call motorstepper
sjmp start
;
InterruptMotor:
call motorOFF
;do anything
end
cak kalim
Posted: Thu May 11, 2006 1:50 am
Post subject: Basic control stepper motor with switch
How to make stepper motor drive forever full turn/half turn until a switch is pressed (pressed even once) ?
Powered by
phpBB
© 2001, 2005 phpBB Group