Jump to content
43oh

Pawnie

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hi, I'm using msp430f2274 to program an accelerometer. The values of x,y,z I display on CCS does not seem to be related to the changes in accelerometer and the value is just jumping around to random numbers. I'm using http://coder-tronics.com/msp430-adc-tutorial/ example 3 as a reference for my code. Below are my codes, hardware connection, and result on the CCS: I connect battery to accelerometer and X,Y,Z output of accelerometer to P2.1, P2.2, P2.3 of the msp430. My codes are as follow : #include <msp430.h> #define BIT0 (0x0001) #define BIT1 (0x0002) #define BIT2 (0x0004) #define B
×
×
  • Create New...