My school project is about rc aircraft. I am trying to use the pic16f684 to read the signals from mesmic 2125 accelerometer using assembly language.
The accelerometer is used to sense angle so the pic will execute a command according to the angles. The commands i can find are all in basic stamp and c-programming languages. The pic is to be programmed in assembly language using the Mplab v7.31 compiler.
1)How to read the accelerometer's X-out and Y-out signals in assembly language?
2)Is there a need to connect the T-out of the accelerometer to the pic?
3)What are the assembly languages available for reading the signals from the accelerometer?
4)How do we use the pic to generate the waveform to actuate the servo movements?
5)Which timer in the pic is suitable for the accelerometer? It have timer0, timer1 and timer2 modules.
I am stuck with these questions. Thanks for those who help out.
The accelerometer is used to sense angle so the pic will execute a command according to the angles. The commands i can find are all in basic stamp and c-programming languages. The pic is to be programmed in assembly language using the Mplab v7.31 compiler.
1)How to read the accelerometer's X-out and Y-out signals in assembly language?
2)Is there a need to connect the T-out of the accelerometer to the pic?
3)What are the assembly languages available for reading the signals from the accelerometer?
4)How do we use the pic to generate the waveform to actuate the servo movements?
5)Which timer in the pic is suitable for the accelerometer? It have timer0, timer1 and timer2 modules.
I am stuck with these questions. Thanks for those who help out.