Shop OBEX P1 Docs P2 Docs Learn Events
ADXL accelerometers — Parallax Forums

ADXL accelerometers

AjenjoAjenjo Posts: 5
edited 2007-05-13 09:58 in General Discussion
Greetings.

I must capture the accleration for the ADXL202, but I never use this type of dispositive.

For example, for the sensor SRF08 I had to use this source
[code]

import stamp.core.*;
import stamp.peripheral.io.I2C;

// Clase que programa el sonar SRF08
public class SRF08
{
final static char CLS = '\u0010';
final static char HOME = 0x01;

// Bus phillips i2c --> SDA en pin 14; SCL en pin 15
static I2C i2cBus = new I2C(CPU.pin15, CPU.pin14);

// Variable para direcci

Comments

Sign In or Register to comment.