1. Implement the above requirement in Assembly language 9. Write an Interrupt Service Routine in Embedded C to handle the INT0 interrupt as per the requirements given below (a) Use Register Bank 1 (b) Read port P1 and save it in register R7 (c) Use Keil mVision IDE and simulate the application
2. Write an embedded ‘C’ program using Keil mVision IDE to control the stepping of a unipolar 2-phase stepper motor in full step mode with a delay of 5 second between the steps. The stepper motor coils, A is connected to P1.0, B is connected to Port pins P1.1, C is connected to P1.2 and D to P1.3 of 8051 through NPN transistor driving circuits. Assume the clock frequency of operation as 12.00MHz
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here