Question: I am trying to dynamically gab the time from a microchip and create a buffer time for when a door is partially locked or unlocked.

I am trying to dynamically gab the time from a microchip and create a buffer time for when a door is partially locked or unlocked. I have been given the time it takes for the lock to spin a quarter turn. The problem is the lock isnt fully locked or unlocked all the time, that is why I need to find the buffer time to see if the door is un/locked. The program is coded in C and is using microchip technology.
Below is the code I have been given to make changes to by my classmates in our group. Buffer time needed to tell if the door is locked or unlocked is what I am trying to find  I am trying to dynamically gab the time from a microchip
and create a buffer time for when a door is partially locked
or unlocked. I have been given the time it takes for the

TMRS Counter16BitseslO TMRS Period16BitSet(OxFFFFI TMRS Start Withoutinterrupt() setMotorltruel while (ImotorPosition( while (motorPosition) while (ImotorPosition) while (motorPosition) while [ImotorPosition) while (motorPosition while (metorPositionO while (imotorPosition TMRS Stopl temp TMRS_Counter36BiGet unlock Time-temp PRS unlocktime woid doDoorCalibratelvoid) calibe ateMotorStepTimingl TMRS Counter16BitseslO TMRS Period16BitSet(OxFFFFI TMRS Start Withoutinterrupt() setMotorltruel while (ImotorPosition( while (motorPosition) while (ImotorPosition) while (motorPosition) while [ImotorPosition) while (motorPosition while (metorPositionO while (imotorPosition TMRS Stopl temp TMRS_Counter36BiGet unlock Time-temp PRS unlocktime woid doDoorCalibratelvoid) calibe ateMotorStepTimingl

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!