well its a continuation.. i have the readings as i have been told to use just one axis which is Y cos the value on it seem realistic..
for the Y axis, attachin the device to my arm, when arm is...
Type: Posts; User: dapsonlee
well its a continuation.. i have the readings as i have been told to use just one axis which is Y cos the value on it seem realistic..
for the Y axis, attachin the device to my arm, when arm is...
#define
void main(void)
{
unsigned char arm_up;
unsigned char arm_down;
unsigned char state = 0;
unsigned char one_volt = ;
unsigned char two_volt = ;
tht pretty much sums up what i was reading from what you gave me! thank you itcbitc u are a start! actually the lecturer mentioned exactly the same thing on the pseudo code but what i am still...
@itcbitc
the pin that was definately use were
IN (1) RA0 = X axis
PIN (2) RA1/AN1 = Y axis
PIN (6) RA2/AN2 = Z axis
the schematics is what i just used as a as a sample
here is what i done...
using the data sheet for the pic18f1320 and the datasheet for the DE-ACCM3D the pins connecting are:
PIN (1) RA0 = X axis
PIN (2) RA1/AN1 = Y axis
PIN (6) RA2/AN2 = Z axis
Voltage from X axis...
I am hoping i can get some help from this forum as the reviews on this site has been tremendous.
i have been given an assignment which includes the programming of a micro controller. the...